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
https://forums.phpfreaks.com/topic/197377-help-please/#findComment-1036026
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
https://forums.phpfreaks.com/topic/197377-help-please/#findComment-1036223
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.