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 Quote Link to comment 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. Quote Link to comment 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']; Quote Link to comment 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'] Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.