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?? Quote 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. Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/49648-password-in-url/#findComment-243429 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.