Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Last Chaos
You last visited: Today at 16:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Register Page !! SCHNELL!!

Discussion on Register Page !! SCHNELL!! within the Last Chaos forum part of the MMORPGs category.

Reply
 
Old   #1
 
<(*.*)>~Renamed~'s Avatar
 
elite*gold: 30
Join Date: Mar 2011
Posts: 130
Received Thanks: 31
Register Page !! SCHNELL!!

Hey.
Ich hab ein root gekauft & wenn ich das script einfüge kommt ein 404 HTTP-Error.
Ich hab alles versucht bitte um hilfe.
der der mir hilft bekommt 5 6e*g
mfg
<(*.*)>~Renamed~ is offline  
Old 11/01/2011, 19:23   #2
 
elite*gold: 111
Join Date: Jan 2010
Posts: 1,229
Received Thanks: 1,259
Welche Version vom LC
Welches script
Basti180 is offline  
Old 11/01/2011, 19:25   #3
 
DreamstaR☆'s Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 1,609
Received Thanks: 339
Die Ep1 Files meint er.
Und das Register Script meint er
DreamstaR☆ is offline  
Thanks
1 User
Old 11/01/2011, 19:32   #4
 
<(*.*)>~Renamed~'s Avatar
 
elite*gold: 30
Join Date: Mar 2011
Posts: 130
Received Thanks: 31
Quote:
Originally Posted by Basti180 View Post
Welche Version vom LC
Welches script
Script von wiza ..
Tuts aber nicht zur sache.
Funzt mit keinem script.
<(*.*)>~Renamed~ is offline  
Old 11/01/2011, 19:35   #5
 
elite*gold: 111
Join Date: Jan 2010
Posts: 1,229
Received Thanks: 1,259
Es hat ein paar anzeige fehler aber es macht was es soll

PHP Code:
<?php

// Enter MySQL Connection Info Here
$mysql = array(
    
'host' => "localhost",
    
'user' => "root",
    
'pass' => ""
    
);

function 
anti_inject($sql) {
    
$sql preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"),"",$sql);
    
$sql trim($sql);
    
$sql strip_tags($sql);
    
$sql addslashes($sql);
    return 
$sql;
}

echo 
"<center>";

if(
$_POST['activ'] == '1') {

    
$accname anti_inject($_POST['accname']);
    
$accmail anti_inject($_POST['accmail']);
    
$accpass1 anti_inject($_POST['accpass1']);
    
$accpass2 anti_inject($_POST['accpass2']);

    
$con mysql_connect($mysql['host'],$mysql['user'],$mysql['pass']);
    
$result mysql_query("SELECT * FROM newproject_db_auth.bg_user WHERE user_id = '".$accname."'",$con);
    
$row mysql_num_rows($result);
    
    
$result2 mysql_query("SELECT user_code FROM newproject_db_auth.bg_user ORDER BY user_code DESC LIMIT 1",$con);
    
$newcode mysql_result($result20) + 1;

    if(empty(
$accname) || empty($accmail) || empty($accpass1) || empty($accpass2)) {
        echo 
"<br>You did not fill in all the required fields. <br>(<a href='javascript:history.back()'>Go Back</a>)<br><br>";
    } elseif(
$row '0') {
        echo 
"<br>This account name already exists. <br>(<a href='javascript:history.back()'>Go Back</a>)<br><br>";
    } elseif(
$accpass1 != $accpass2) { 
        echo 
"<br>The passwords did not match. <br>(<a href='javascript:history.back()'>Go Back</a>)<br><br>"
    } elseif(
$accpass1 == $accname) { 
        echo 
"<br>Account name and password are the same. <br>(<a href='javascript:history.back()'>Go Back</a>)<br><br>"
    } elseif(!
preg_match("/^[0-9a-zA-Z]{3,15}$/i"$accname)) { 
        echo 
"<br>Enter a account name containing only (0-9, A-Z). <br>(<a href='javascript:history.back()'>Go Back</a>)<br><br>"
    } elseif(!
preg_match("/^[0-9a-zA-Z]{3,15}$/i"$accpass1)) { 
        echo 
"<br>Enter a password containing only (0-9, A-Z). <br>(<a href='javascript:history.back()'>Go Back</a>)<br><br>"
    } elseif(!
preg_match("/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/i",$accmail)) { 
        echo 
"<br>Your e-mail is not correct. <br>(<a href='javascript:history.back()'>Go Back</a>)<br><br>"
    } elseif(
strlen($accname) < || strlen($accname) > 12) { 
        echo 
"<br>The account name must be 3-12 characters long. <br>(<a href='javascript:history.back()'>Go Back</a>)<br><br>"
    } elseif(
strlen($accpass1) < || strlen($accpass1) > 12) { 
        echo 
"<br>The password must be 3-12 characters long. <br>(<a href='javascript:history.back()'>Go Back</a>)<br><br>"
    } else {

      
mysql_query("INSERT INTO newproject_db_auth.bg_user VALUES ('".$newcode."', '".$accname."', ' ', ' ', NULL, ' ', ' ', '000000-0000000', 'M', '".$accpass1."', 0, NULL, NULL, NULL, 'S', '".$accmail."', NULL, NULL, 0, 0, NULL, NULL, '0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0', '0 0 0 0 0 1 0', 'N', 'Y', 'Y', 'Y', 'N', 'N', 'Y', 'N', NULL, NULL, NULL, NULL, NULL, NULL, 'LC', 'LC', '0000-00-00 00:00:00', '0000-00-00 00:00:00', NULL, NULL, 0, 'N', 'N', 'N', 'N', NULL, 'Y', NULL, 'N', NULL, 'N')");

      echo 
"<center>The account was successfully created.</center><br>"

    }

} else { 

    
$con mysql_connect($mysql['host'],$mysql['user'],$mysql['pass']); 
    
$result mysql_query("SELECT * FROM newproject_db_auth.bg_user",$con); 
    
$row mysql_num_rows($result); 

    echo 
"<center><b>We Have ".$row." Registed Accounts On Our Server</b></center><br>";
    echo 
"<form action='".$_SEVER['PHP_SELF']."' method='POST'>";
    echo 
"<center><table>";
    echo 
"<tr><td colspan='2' align='center'><b>Your Account Info</b></td></tr>";
    echo 
"<tr><td>Account Name:</td><td><input type='text' name='accname' maxlength='12'></td></tr>";
    echo 
"<tr><td>Password:</td><td><input type='password' name='accpass1' maxlength='12'></td></tr>";
    echo 
"<tr><td>Again Password:</td><td><input type='password' name='accpass2' maxlength='12'></td></tr>";
    echo 
"<tr><td>E-Mail:</td><td><input type='text' name='accmail' maxlength='50'></td></tr>";
    echo 
"<tr><td>&nbsp;</td><td>&nbsp;</td></tr>";
    echo 
"<tr><td colspan='2' align='center'>
        <input type='hidden' name='activ' value='1'>
        <input type='submit' value='Create Account'></td></tr>"
;
    echo 
"</table></center>";
    echo 
"</form>";
    echo 
"LastChaos Register Page &copy; Warmonger ";

}

echo 
"</center>";

?>
Basti180 is offline  
Old 11/01/2011, 19:36   #6
 
<(*.*)>~Renamed~'s Avatar
 
elite*gold: 30
Join Date: Mar 2011
Posts: 130
Received Thanks: 31
Das war das erste was ich versucht hab.
404 error hat nix mit dem script zu tun .
Wennich nur die ip eingebe komm ich auf plesk ..
<(*.*)>~Renamed~ is offline  
Old 11/01/2011, 19:40   #7
 
elite*gold: 111
Join Date: Jan 2010
Posts: 1,229
Received Thanks: 1,259
Das ist aus Wizateks forum.
So geht bei uns auch das script auf dem sever.

Deutsch:
1. Erstellt ein Textdocument
2. Kopiert das script ins Document
3. Ändert das Document in register.php
4. Kopiert es in xampp/hotdocs
5. Öffnet es mit
Basti180 is offline  
Old 11/01/2011, 19:42   #8
 
<(*.*)>~Renamed~'s Avatar
 
elite*gold: 30
Join Date: Mar 2011
Posts: 130
Received Thanks: 31
Ich bin nicht doof im kopf..
Hab alles gemacht und dann kommt "Serverfehler
404 - Datei oder Verzeichnis wurde nicht gefunden.
Die gesuchte Ressource wurde möglicherweise entfernt oder umbenannt, oder sie steht vorübergehend nicht zur Verfügung."
<(*.*)>~Renamed~ is offline  
Old 11/01/2011, 19:50   #9
 
elite*gold: 111
Join Date: Jan 2010
Posts: 1,229
Received Thanks: 1,259
Könnte eine falsche einstellung auf dem root dann sein, bez vielleicht auch im plesk da du mit der ip dort drauf kommst von ausen
Basti180 is offline  
Old 11/01/2011, 19:50   #10
 
<(*.*)>~Renamed~'s Avatar
 
elite*gold: 30
Join Date: Mar 2011
Posts: 130
Received Thanks: 31
Kannst mir per tv helfen?
<(*.*)>~Renamed~ is offline  
Old 11/01/2011, 19:53   #11
 
elite*gold: 111
Join Date: Jan 2010
Posts: 1,229
Received Thanks: 1,259
heute leider nicht
Basti180 is offline  
Old 11/01/2011, 19:54   #12
 
elite*gold: 0
Join Date: Oct 2011
Posts: 188
Received Thanks: 38
Ich kann dir helfen
Azzlack_Capo is offline  
Old 11/01/2011, 20:52   #13
 
elite*gold: 0
Join Date: Jun 2010
Posts: 293
Received Thanks: 46
Welche WIdnows hast du denn?



Bist du dir wirklich sicher das du das Textdokument als PHP Dokument gescihert hast? Weil wenn du beim Speicher nur den namen änderst heißt die Datei am Ende Register.php.txt Und ist immer noch eine Textdatei^^ Vill liegts daran =)

Du msust die Datei als PHP Datei spiechern wenn du das tust wird es auch (wahrscheinlich) ohne Probleme funktionieren.
xCassAx is offline  
Old 11/01/2011, 21:09   #14
 
DreamstaR☆'s Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 1,609
Received Thanks: 339
Also die Fehlermeldung für alle:



Die datei ist allerdings laut Aussage von Renamed vorhanden.
DreamstaR☆ is offline  
Old 11/01/2011, 21:22   #15
 
<(*.*)>~Renamed~'s Avatar
 
elite*gold: 30
Join Date: Mar 2011
Posts: 130
Received Thanks: 31
Quote:
Originally Posted by xCassAx View Post
Welche WIdnows hast du denn?



Bist du dir wirklich sicher das du das Textdokument als PHP Dokument gescihert hast? Weil wenn du beim Speicher nur den namen änderst heißt die Datei am Ende Register.php.txt Und ist immer noch eine Textdatei^^ Vill liegts daran =)

Du msust die Datei als PHP Datei spiechern wenn du das tust wird es auch (wahrscheinlich) ohne Probleme funktionieren.
Vista leider ^^
Und PhP ist es ^^
<(*.*)>~Renamed~ is offline  
Reply


Similar Threads Similar Threads
Need Register Page!
10/30/2009 - Aion - 0 Replies
Can anybody tell me how to make a account or give me a Register Page? Please and thx Once i get this i can release my Servers!
Register page
06/12/2009 - Dekaron Private Server - 17 Replies
Anyone have a guide on how to set up the reg page? I have it where I can access the page. When I put in the info and everything, it is saying I have an ODBC error. I have looked on here and google and haven't found anything, any help?
register.php page?
04/11/2009 - CO2 Private Server - 1 Replies
anyone know how to make one... clear instructions plz... im kinda slow lol
[HELP] Register Page
03/25/2009 - EO PServer Hosting - 1 Replies
hi guyz i have a problem in my register page , IDK what to do , i replaced it , and i replaced every thing , even removed APPserver ,a dn install it back , but still not workin plz help me , here is the link to reg page http://eo-satan.sytes.net:8090/register/register. php and another thing , after i put added the gold wings to server , casulas ( flame clothes , black light ) make player invisible , and still can be bought from mall and every thing good in db plz help



All times are GMT +1. The time now is 16:26.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.