In the purpose of getting access to I will set a cookie:
setcookie ("login", "OK", time()+3600, "/ha/");
It looks like the cookie is set since I get the confirmation text (of course
placed inside the codeblock where the cookie is 'set' (?). Probably it just
confirm that it has found ONE hit in the db on the username/password pair).
But, when I try to access any file in it fails and the login
script is loaded again (and a look in 'Temporary Internet Files' tells the
cookie doesn't exist). On the local machine (w2k, apache 2) the same script
works ok

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to