Hi,
I've got a question about a login script using cookies. What I want to do is the following: when my .php page is loaded I check whether $typedpassword and $typedusername are set. If not, a login-form is displayed. If the two variables are set I check whether they match $setpassword and $setusername. If so the first fucntion of my script is executed, if not the login-form is displayed again. The problem I'm experiencing now is that I have to send the password and username each time I reload the page to execute another function. I figured this might be solved by using cookies, but how do I do this. What should be the action of the login-form? And how do I prevent the password from showing up in the address? I' a newbie at this subject, so a clear example would be very much appriciated!
Thanx Michiel