Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Eudemons Online > EO PServer Hosting
You last visited: Today at 07:49

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

Advertisement



Help me with the Change password.php any one

Discussion on Help me with the Change password.php any one within the EO PServer Hosting forum part of the Eudemons Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2008
Posts: 726
Received Thanks: 333
Help me with the Change password.php any one

ok well i have the Changepw stuff for my website here are the link



Enter the search user name Blank thats an account registerd

then click find username then just click change password on the next page
and it gives me an error.

can any one help me or suply me with a Changepassword stuf that they have or use, or point me in the right way please ? thanks
stedabest321 is offline  
Old 01/09/2011, 18:25   #2
 
MoŽtalKing's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 107
Received Thanks: 84
MoŽtalKing is offline  
Thanks
1 User
Old 01/09/2011, 19:33   #3
 
elite*gold: 0
Join Date: Oct 2008
Posts: 726
Received Thanks: 333
Ok when i use the Change password i get this error But it allworks ok

Quote:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampplite\htdocs\changepw.php:2) in C:\xampplite\htdocs\inc\class.captcha.php on line 46
I can't understnad what it is the part thats number 46 is

Quote:
if($hash1!= $curpass)
Here is all of it

PHP Code:
<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>

<?php
            
if($_POST['B1'])
            {
            
mysql_select_db($mydbacc);
                    
$userid trim($_POST['userc']);
                    
$password=trim($_POST['curpass']);
                    
$passretype=trim($_POST['repass']);
                    
$hash=$_POST['hash'];
                    
$hash1=$_POST['hash1'];
                    
$newpass trim($_POST['newpas']);
                    
$renewpass trim($_POST['renew']);
                    
$sql "SELECT * FROM account WHERE name='$userid'";
                    
$query mysql_query($sql) or die(mysql_error());
                    
$row mysql_fetch_object($query);
                    
$curpass htmlspecialchars($row->password);

$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>
stedabest321 is offline  
Old 01/09/2011, 20:00   #4
 
slyvanussky's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 20
Received Thanks: 0
try use website released by elite4demons and eurion was released the updated of captcha i think thats about captcha issues


just use the new php that he released so far i used thats one without no problems
slyvanussky is offline  
Reply


Similar Threads Similar Threads
Change Password
05/12/2012 - SRO Private Server - 4 Replies
Any1 can say me how can i change password?..thx
change password
09/16/2010 - Grand Chase Hacks, Bots, Cheats & Exploits - 2 Replies
pls magrelease din po kayo ng cheat na may +90% na exp.
[HELP] HOW TO CHANGE PASSWORD???
04/11/2010 - Grand Chase Philippines - 6 Replies
PLS HELP
Change Password
03/14/2009 - Conquer Online 2 - 2 Replies
can anyone Post Script co for Change Passowrd but when change password i want only old password and new password not data
I can't change my password
03/05/2009 - SRO Private Server - 4 Replies
Please help i want change my password from ECSRO (normal)because someone have my password, he sold all my items i am scary that he do it again... and I tried to change it but i got this error registeration failed E-mail form error! please re-enter it。 go back i got this error like 10 times or more!!! my email is correct because I have an notepad with all my data!:( please again help me



All times are GMT +1. The time now is 07:49.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.