ie: for every {
u must have a closing }
Added after 5 minutes:
change your core here in registration
$body = "Date: $ddt - Account Detail\n\n Hello $name,\n\nYour new account is setup you can login with login name:$name and password:$epwd\n\nIn case you can validate yourself by this code : ".$vcode[0]."";
and register php change also i have a extra field on users table called pass2 to save the pwd unencrypted
Code:
if ($logit) { $epwd = md5(strtolower($pwd)); $usid = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE name='".$uid."' AND pass='".$epwd."'")); mysql_query("INSERT INTO ibwf_users SET name='".getnick_uid($usid[0])."', pass2='".$pwd."'"); echo "<p><b>Registration completed successfully!!</b><br/>"; echo "<i><b>Username:</b> $uid</i><br/>"; echo "<i><b>Password:</b> $pwd</i><br/>"; echo "<i><b>E-Mail:</b> $email</i><br/>"; echo "<br/>You may login now. <a href=\"login.php?loguid=$uid&logpwd=$pwd\">Click here</a> to login.</p>"; }
Leave a comment: