Welcome To L2 SuperPower PvP C6
Main | Site Catalog | Registration | Login
~Site menu~
Our poll
Rate my site
Total of answers: 2310
Statistics

Total online: 1
Guests: 1
Users: 0
Main » Site Catalog (4)

Auto [1] Business and Finances [0]
Home [1] Internet [2]
Computers [0] Culture and Art [0]
Medicine and Health [0] Science and Education [0]
Unexperienced [0] News and Mass Media [0]
Society and Politics [0] Entertainment [0]
Production [0] Jobs [0]
Sport [0] Information [0]
Goods and Services [0] Humor [0]


Change Password


Register






  • Account and password can not be empty .

  • Account and password can not be less than 4 and Over 15 characters .

  • Account and password are written in English letters and numerals.




























Login
Old Password
New Password
Repeat password



if(ereg("^([a-zA-Z0-9_-])*$", $_POST['account']) && ereg("^([a-zA-Z0-9_-])*$", $_POST['oldpassword']) && ereg("^([a-zA-Z0-9_-])*$", $_POST['newpassword']) && ereg("^([a-zA-Z0-9_-])*$", $_POST['newpassword2']))
{
if ($page='index.php' && $_POST['account'] && strlen($_POST['account'])<16 && $_POST['oldpassword'] && $_POST['newpassword'] && $_POST['newpassword']==$_POST['newpassword2'])
{
$result=mysql_query("SELECT login,password FROM accounts WHERE login='".@mysql_real_escape_string($_POST['account'])."' AND password='".base64_encode(pack('H*', sha1($_POST['oldpassword'])))."'", $link)
or die ("Error: ".mysql_error());
if (mysql_num_rows($result))
{
mysql_query("UPDATE accounts SET password='".base64_encode(pack('H*', sha1($_POST['newpassword'])))."' WHERE login='".mysql_real_escape_string($_POST['account'])."'", $link)
or die ("Error: ".mysql_error());
print "

Password has been changed.

";
}
else
print "

That's it : ( something went wrong, give another try.

";
mysql_close($link);
}
}
else
{
echo "Restrictions have not been tested for safety. If you are confident that had the correct information, please refer to the administration .";
}
?>











Internet | Transitions: 463 | Added by: acc | Date: 08.27.2010


Change Password


Register






  • Account and password can not be empty .

  • Account and password can not be less than 4 and Over 15 characters .

  • Account and password are written in English letters and numerals.




























Login
Old Password
New Password
Repeat password



if(ereg("^([a-zA-Z0-9_-])*$", $_POST['account']) && ereg("^([a-zA-Z0-9_-])*$", $_POST['oldpassword']) && ereg("^([a-zA-Z0-9_-])*$", $_POST['newpassword']) && ereg("^([a-zA-Z0-9_-])*$", $_POST['newpassword2']))
{
if ($page='index.php' && $_POST['account'] && strlen($_POST['account'])<16 && $_POST['oldpassword'] && $_POST['newpassword'] && $_POST['newpassword']==$_POST['newpassword2'])
{
$result=mysql_query("SELECT login,password FROM accounts WHERE login='".@mysql_real_escape_string($_POST['account'])."' AND password='".base64_encode(pack('H*', sha1($_POST['oldpassword'])))."'", $link)
or die ("Error: ".mysql_error());
if (mysql_num_rows($result))
{
mysql_query("UPDATE accounts SET password='".base64_encode(pack('H*', sha1($_POST['newpassword'])))."' WHERE login='".mysql_real_escape_string($_POST['account'])."'", $link)
or die ("Error: ".mysql_error());
print "

Password has been changed.

";
}
else
print "

That's it : ( something went wrong, give another try.

";
mysql_close($link);
}
}
else
{
echo "Restrictions have not been tested for safety. If you are confident that had the correct information, please refer to the administration .";
}
?>











Auto | Transitions: 460 | Added by: acc | Date: 08.27.2010

free counters
Home | Transitions: 511 | Added by: Visitors | Date: 12.31.2009

Internet | Transitions: 658 | Added by: Chat Rom | Date: 09.18.2009

*Server StaT Vote*
Vote For TopZone!!! l2topzone.com Vote For HopZone!!!

Vote our server on HopZone.Net

Thx
*Top Chars*
-------
*~Login form~*
*~Site friends~*
free counters
*Admin Server Site [{DVL}=Sumeon]* *L2 Superpower PvP RPG Server C6*