<script type="text/javascript" src="inc/md5.js"></script> <?php include('config.php'); ?> <form method="post"> <TABLE align="center"> <tr><td> <br /> Enter the correct info and your password will be changed. For the email, it will be the one you used to sign up with.<tr><td> <tr><td align="center">Login Name:</tr></td> <tr><td align="center"><input type="text" size="20" name="userc"/></tr></td> <tr><td align="center">Current Password:</tr></td> <tr><td align="center"><input type="hidden" name="hash1"> <input type="password" size="20" name="curpass" onBlur="hash1.value=login(curpass.value)"/></tr></td> <tr><td align="center">New Password:</td></tr> <tr><td align="center"><input type="password" size="20" name="newpas"/></td></tr> <tr><td align="center">Retype New Password:</td></tr> <tr><td align="center"><input type="password" size=\"20\" name="renew"/></td></tr> <tr><td align="center"> <input type="hidden" name="hash"><input class=Butt type=submit onClick="hash.value = login(newpas.value)" value="Change Password" name=B1> </td></tr> </TABLE> </form>
$res = mysql_query("select * from account where name = '".$userid."' order by id desc"); if(mysql_num_rows($res) == 0) { Echo "Sorry that username doesnt exist"; }else{ if($hash1 != $curpass) { echo "Your current password was typed wrong"; } else{ if($newpass != $renewpass) { echo "Your New paswords dont match"; } else{ $sql = "UPDATE account SET password='$hash' WHERE name='$userid'"; $query = mysql_query($sql) or die(mysql_error());
echo "Password Changed correctly ";
}
}
} }
?></div>
05/16/2010 03:41xCookieZx#22
Quote:
Originally Posted by danielv183
reupload the links again!!
yes, demand it just like that and see how long you have to wait for the links, just like spongebox said, make it yourself?
05/16/2010 09:34|Dark|Side|#23
o.O Cookiez!!! *Jumps back on subject like i know whats going on*Yea.. Stop like.. demanding for stuff >:o :p xD
05/16/2010 14:08.Ash#24
Quote:
Originally Posted by |Dark|Side|
o.O Cookiez!!! *Jumps back on subject like i know whats going on*Yea.. Stop like.. demanding for stuff >:o :p xD
lmao what happened to the other server you were playing?