ayush Posted May 2, 2007 Share Posted May 2, 2007 Hi, I want to send the password of a user in the URL. somethign like : http://www.example.com/example.php?user=example&password=example don warry the password will be encrypted wid the help of md5() But I want to ask that is there any way so that i can send something unique in the URL string so that there are less possibilities of hacking. and which keeps on changing everytime?? Link to comment https://forums.phpfreaks.com/topic/49648-password-in-url/ Share on other sites More sharing options...
jitesh Posted May 2, 2007 Share Posted May 2, 2007 If you are saving encrypted password in db and passing as a encrypted string then its meaning less. Better way use session. Link to comment https://forums.phpfreaks.com/topic/49648-password-in-url/#findComment-243407 Share on other sites More sharing options...
Daniel0 Posted May 2, 2007 Share Posted May 2, 2007 You cannot use the password. You'd have to create some sort of one-time-login URL. Sort of like: http://example.com/login.php?username=<username_here>&login_key=<random_stuff_here> That is of course if it is a login link you are intending to create. Link to comment https://forums.phpfreaks.com/topic/49648-password-in-url/#findComment-243429 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.