Ok. So are you saying that once the user provides the correct login & password, you then set a $_SESSION['random'] & then use this as $userID so that you don't have to use their password for stuff...
Another question I have is, when you say you check the session variable is set and is the correct value. Are you saying that you do something like this to check the user is logged in?
Thanks Dex. Does anyone know of a way of doing this without starting a session? I'd like to only start a session if the users are logged in, this will cut down on lurkers starting sessions (I don't...
If 1 fails, do you let them know that they are using the wrong username? And if you let them know this, is this a security issue to let hackers know to try a different username? Or does that matter?
1) the user is browsing
2) clicks a restricted (members only) page
3) logs in
4) I want them to go back to the restricted page if login is successful
...
1. count the length of text
2. if the text is longer than a certain length, truncate it to a specified length
3. Display the shortened form, with ...Read...
I have a random line that appears as a border (only on the same 2 sides) on any picture that I use as a header or category header when you increase/decrease the zoom in & zoom out.
Wow, just read about MD5 collisions. I saw a couple of recommendations of how to still use MD5 & make a password more secure. What would you recommend?