Associate
- Joined
- 21 May 2003
- Posts
- 1,008
Hi. I'm trying to make a website in php (mainly) witha myssql database. At the moment, if I need to send a variable to another webpage I do the following
example)
localhost/usersdetails.php?userID=1
is there anyway of making this secure? surely at the moment anyone can just type that in and choose any userID they like and see all the users details?
I've tried searching but the closest thing i could find to what I want is md5 hashing, but from what I understand that's only one way, so if I hash "userID=1" I won't be able to "dehash" it in the next webpage.
Is there any hidden way (which is secure) to pass variables to other pages?

localhost/usersdetails.php?userID=1
is there anyway of making this secure? surely at the moment anyone can just type that in and choose any userID they like and see all the users details?
I've tried searching but the closest thing i could find to what I want is md5 hashing, but from what I understand that's only one way, so if I hash "userID=1" I won't be able to "dehash" it in the next webpage.
Is there any hidden way (which is secure) to pass variables to other pages?