Jump to content

Help, Please?


GetReady

Recommended Posts

Thanks that worked a treat getting another problem elsewhere thought... sorry to be a pest :/ any clues on why this;

 

}else{
		$pas=$cgi['passone'];
		updateUser($_SESSION["activationID"], " password=' md5 ($pas)', active='1' ");
		setLastSeen($_SESSION['activationID'],time());
		mail($cgi['email'],"Your new  password", "Your new  password is: md5 ($pas) ");
		echo "<font color=white size=5>Activate.</font><br><br> Your password  was changed and now you can login with this new password.";
		$isActivated=1;

 

Is causing the password to be submitted as  "md5 (passwordhere)"

 

Any help will be very much appreciated im new to this whole scene sorry ;(

Link to comment
Share on other sites

Hey one last question and il be out of your hair...

 

How would i md5 this as when ive done most of my other functions i wish to md5 but when ive tried the following ive got an error... heres the base code of it with no md5, Any help will be appreciated, Thanks.

 

function isLogined($uname,$psword){
$str="select * from `users` where  userName='$uname' and password='$psword'";
//echo $str;

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.