Good day experts,
Is there anyone have a good heart that can share a working website
with a working changepassword in a normal mode server?
Printable View
Good day experts,
Is there anyone have a good heart that can share a working website
with a working changepassword in a normal mode server?
Up for this one
its hard to share that file in here unless their is a good heart man will share that file... but try asking in a web programmer that related to SQL script.. they can help with that script..
i already tried this one bro. i configured my files and change my password in my accounts, but i still have problems. when i tried to logged it ingame, it always says "sorry connection failed".
update to this post.
this is the code i have so far but, it changes the password in the tad file to the incorrect one. if anyone has any ideas please let me know.
$fp = fopen("C:/kathana6/DBSRV/Share/Serv02/new/$UserID.txt","w");
fwrite($fp,$UserID."\r\n");
fwrite($fp,$password."\r\n");
fwrite($fp,"000000\r\n");
fwrite($fp,$userkey."\r\n");
$userid = $_SESSION['username'];
$password2 = strtoupper(md5($newpass));
$initial=substr($userid,0,1);
if (ereg("^[a-zA-Z]$",$initial))
{
$initial=strtoupper($initial);
}
else
{
$initial="etc";
}
$accdir=("C:\kathana6\DBSRV\Account");
$f=fopen("./inc/sample.tad", "r");
$f=@fopen($accdir."\\".$initial."\\".$userid.".TAD",r) or die("Error");
$acc = @fread($f,7124);
$demopass=substr($acc,52,32);
$acc = str_replace($demopass,$password2,$acc);
$f2=@fopen($accdir."\\".$initial."\\".$userid.".TAD",w);
@fwrite($f2,$acc) or die("Error");
@fclose($f);
fclose($fp);