Register for your free account! | Forgot your password?

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

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

Advertisement



[HELP!!] Flyff Registerproblem + Video

Discussion on [HELP!!] Flyff Registerproblem + Video within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
Jay Niize's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 4,851
Received Thanks: 3,417
[HELP!!] Flyff Registerproblem + Video

Da ich mit SuFu nichts hilfreiches gefunden habe, hier mein Problem
Ich gebe auf der Regi page meine Daten an und klicke auf Erstellen.
Dann dauert es 5 sekunden und ich werde auf meine Hauptseite geleitet, ohne das der Acc erstellt wird!
Also ich hab in meiner Register den Code :
Code:
<font color="#FFFFF" >
<html>
    <head>
		<body background="register.jpg" />
    	<title>Registration</title>
    </head>
    <body>
        <center>
            <h2 style="font-weight: normal; margin-top: 5px; margin-bottom: 0px;">Register Ingame</h2><br>
        </center>
        <form action="index.php?site=register" method="post">
            <table width="258" border="0" align="center">
                <tr>
                    <td width="107" height="20">
<font color="white">
                        <font size="2">Account:</font>
                    </td>
                    <td width="141">
                        <label><input name="user" id="user" size ="15" class="h4" name="user" type="text"/></label>
                    </td>
                </tr>
                <tr>
                    <td height="25">
<font color="white">
                        <font size="2">Passwort:</font>
                    </td>
                    <td>
                        <input name="pass1" id="pass1" size ="15" class="h4" name="user" type="password"/>
                    </td>
                </tr>
                <tr>
                    <td height="24">
<font color="white">
                        <font size="2">Wdh. Passwort:</font>
                    </td>
                    <td>
                        <input name="pass2" id="pass2" size ="15" class="h4" name="user" type="password"/>
                    </td>
                </tr>
            </table>
            <p align="center">
                <input name="submit" type="submit" class="h4" value="Account erstellen" />
            </p>
        </form>
<font color="white">
        <div align="center">
			<?php
				if(isset($_POST['submit'])) {
					require('config.php');
					if(!$_POST['user'] || !$_POST['pass1'] || !$_POST['pass2']) {
						die('<strong>Du musst alle Felder ausfüllen!<BR></strong>');
					} else {
						$user = $_POST['user'];
						$pass = md5('kikugalanet' .$_POST['pass1']. '');
					}
					$pass2 = md5('kikugalanet' .$_POST['pass2']. '');
					if(exi($user) != '0') {
						die("Username: '".$user."' is in use!");
					}
					if($pass != $pass2) {
						die('<strong>Passwörter stimmen nicht überein!</strong>');
					}
					$nww = nw($user, $pass); 
					if ($nww){
						echo("<p class='b01'><strong>Registration erfolgreich!</strong></p>");
					} else {
						echo("<p class='b01'><strong>Registration fehlgeschlagen!</strong></p>");
					}
				}
            ?>	
        </div>
    </body>
</html>
Dann hab ich hier noch den Code von meiner Config (in dem inc Ordner)

Code:
<?php
$sHost      = '[COLOR="Red"]localhost[/COLOR]'; // Default: 127.0.0.1 EN:Host/IP  FR:HOST/IP
$sLogin     = 'root'; // Default: root EN:Login  FR: Identifiant
$sPass      = '****'; // Default:  EN:Password  FR: Mot de passe
$sDatabase  = 'flyff3'; // Default: flyff EN:Database Name  FR: Nom de la base de donnée

$myConnect  = mysql_connect( $sHost, $sLogin, $sPass );
$myDatabase = mysql_select_db( $sDatabase, $myConnect );
?>
ROT= Meine Hamachi IP
Ich benutze die Fame - Templates!

Bitte um Hilfe!

Hier hab ich noch ein Video um dieses Problem :
Jay Niize is offline  
Old 01/16/2010, 13:46   #2
 
elite*gold: 0
Join Date: Aug 2009
Posts: 825
Received Thanks: 400
Quote:
Originally Posted by Jusikid View Post

Dann hab ich hier noch den Code von meiner Config (in dem inc Ordner)

Code:
<?php
$sHost      = '[COLOR="Red"]localhost[/COLOR]'; // Default: 127.0.0.1 EN:Host/IP  FR:HOST/IP
$sLogin     = 'root'; // Default: root EN:Login  FR: Identifiant
$sPass      = '****'; // Default:  EN:Password  FR: Mot de passe
$sDatabase  = 'flyff3'; // Default: flyff EN:Database Name  FR: Nom de la base de donnée

$myConnect  = mysql_connect( $sHost, $sLogin, $sPass );
$myDatabase = mysql_select_db( $sDatabase, $myConnect );
?>
ROT= Meine Hamachi IP
Ich benutze die Fame - Templates!

Bitte um Hilfe!
schreib mal das da rein:
Quote:
<?php
// By Nilsator2
if(stristr($_SERVER['PHP_SELF'], "register/config.php")) die('asdada');
$host = "localhost"; // host mysql <--- dein host
$user = "root"; // mysql username <--- dein username
$pass = ""; // mysql password <--- dein pw
$db = "flyff"; // mysql db <--- deine db

mysql_connect($host,$user,$pass) or die(mysql_error());
mysql_select_db($db) or die(mysql_error());

function nw($N, $C){
$reg = mysql_query("INSERT INTO accounts (username, password, accesslevel) VALUES( '$N', '$C', '100')")or die(mysql_error());
return $reg;
}
function exi($user){
$check = mysql_query("SELECT * FROM accounts WHERE username = '$user'");
$check2 = mysql_num_rows($check);
return $check2;
}

?>
Hoffe es geht dann
Nilsator2 is offline  
Thanks
1 User
Old 01/16/2010, 14:42   #3
 
Jay Niize's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 4,851
Received Thanks: 3,417
Jetz is mein Code n der Config
Code:
<?php
// By Nilsator2
if(stristr($_SERVER['PHP_SELF'], "register/config.php")) die('asdada');
$host = "5.217.91.165"; // host mysql <--- dein host
$user = "root"; // mysql username <--- dein username
$pass = "1234"; // mysql password <--- dein pw
$db = "flyff3"; // mysql db <--- deine db

mysql_connect($host,$user,$pass) or die(mysql_error());
mysql_select_db($db) or die(mysql_error());

function nw($N, $C){
$reg = mysql_query("INSERT INTO accounts (username, password, accesslevel) VALUES( '$N', '$C', '100')")or die(mysql_error());
return $reg;
}
function exi($user){
$check = mysql_query("SELECT * FROM accounts WHERE username = '$user'");
$check2 = mysql_num_rows($check);
return $check2;
}

?>
Es funkt nicht
Jay Niize is offline  
Thanks
1 User
Old 01/17/2010, 20:25   #4
 
Jay Niize's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 4,851
Received Thanks: 3,417
*push*
weiss einer lösung?
Jay Niize is offline  
Old 01/20/2010, 17:55   #5
 
Jay Niize's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 4,851
Received Thanks: 3,417
*Nochmal push* wiess wirklich keiner was?
Jay Niize is offline  
Old 01/22/2010, 22:47   #6
 
Jay Niize's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 4,851
Received Thanks: 3,417
*push*
BIITTE! : bin am verzweifeln!!!!
pls. HELP MEE!!!!!!!
falls es was zu sache tut wir benutzen belka DB & rev
/Edit : 100ster Beitrag!
Jay Niize is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Video]Flyff Transform bug
02/13/2009 - Flyff Private Server - 41 Replies
vorwort: jetzt kommen sicher solche wannabe kritiker die meinen einen auf toll zu machen weil da rechtschreib fehler im video sind... wayne? erspart euch die kommentare das CyclopsX falsch geschrieben ist... kritik ist nich verboten aber die rechtschreib fehler kenn ich selber (hab das video in eile gemacht) würde mich eher über positives feedback freuen alsodann: YouTube - Flyff Pserver bug
Flyff video
09/04/2008 - Flyff - 13 Replies
schauts euch an is von mia :> Flyff Mein "Hero Knight" - NiceAir08 - MyVideo
Flyff Pserver [Screens] Video :>
08/06/2008 - Flyff Private Server - 4 Replies
hi hab maln video von den screens von vulcan gemacht wenn ihr langeweile habt einfach ma angucken hier der link: Flyff *Extract* Pserver! - NiceAir08 - MyVideo mfg.
Flyff Korea Registrierung [Video Tutorial]
09/30/2007 - Flyff - 14 Replies
Flyff Korea Registrierung : KSSN.doc (by Inukie) KFlyff Client (614 mb) Video Tutorial (4919 KB) Credits :



All times are GMT +1. The time now is 20:21.


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.