angelali Posted March 23, 2012 Share Posted March 23, 2012 I am coding a login form. If the user forgets his password, he will click on a link where he will have to insert his email address, then, he will get a confirmation link in his inbox. After that, he willl click on the link, to redirect him to a page to create a new password. The page link to create a new password (the confirmation link) is actually like this: http://xxxxx.forgetpassword.php I want that when it will appear in the user's inbox, it should be like this: http://xxxxx.f135kkgg3f6f2f2.php Well, you know what I mean, perhaps most of us have got this kind of URL when we forget a password. It is like encrypted or hashed something like that. So, how can I do it like this? Quote Link to comment https://forums.phpfreaks.com/topic/259538-how-to-protect-url-in-php/ Share on other sites More sharing options...
darkfreaks Posted March 23, 2012 Share Posted March 23, 2012 http://www.99points.info/2010/06/php-encrypt-decrypt-functions-to-encrypt-url-data/ Quote Link to comment https://forums.phpfreaks.com/topic/259538-how-to-protect-url-in-php/#findComment-1330418 Share on other sites More sharing options...
angelali Posted March 23, 2012 Author Share Posted March 23, 2012 Huh...is there a method to do it in procedural instead of object oriented? Quote Link to comment https://forums.phpfreaks.com/topic/259538-how-to-protect-url-in-php/#findComment-1330436 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.