Foser Posted July 1, 2007 Share Posted July 1, 2007 My registration script encrypts the $_POST to make it more secure. but Now i want to make it so when you register it will send you all the information such as password and username. how can i make it send the password if its encrypted? Thanks Link to comment https://forums.phpfreaks.com/topic/57947-send-encrypted-password/ Share on other sites More sharing options...
hackerkts Posted July 1, 2007 Share Posted July 1, 2007 Set a variable before it was encrypted, then send it. Link to comment https://forums.phpfreaks.com/topic/57947-send-encrypted-password/#findComment-287157 Share on other sites More sharing options...
Foser Posted July 1, 2007 Author Share Posted July 1, 2007 so something like MD5($_post[pw]); $pw = $_POST['PW']; Link to comment https://forums.phpfreaks.com/topic/57947-send-encrypted-password/#findComment-287163 Share on other sites More sharing options...
hackerkts Posted July 1, 2007 Share Posted July 1, 2007 Actually what you can do is, on your registration page you do md5($_POST['PW']), then when you wanna send your member their password, just put $_POST['PW'] Link to comment https://forums.phpfreaks.com/topic/57947-send-encrypted-password/#findComment-287164 Share on other sites More sharing options...
mmarif4u Posted July 1, 2007 Share Posted July 1, 2007 Simply do this: $pw = $_POST['PW']; $pw1=MD5($pw); Send Just $pw to user and store $pw1 to db. Link to comment https://forums.phpfreaks.com/topic/57947-send-encrypted-password/#findComment-287169 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.