Cookies etc.
| From: | Vojtech Dvorak | Date: | Wed, 26 Jul 2000 13:02:38 +0000 |
| Subject: | Cookies etc. | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1511@lists.php.net to get a copy of this message | ||
Hi,
I am doing easy user/password check for my www pages/database. And as I was
thinking how could I protect every page of my "secured area" I came to good
idea... set a cookie like this:
setcookie("monstrum_login","$username
$password",time()+3600,"/","127.0.0.1",0)
But it easily doesn't set the cookie.
No error message, nothing.
What I am doing wrong?
Or better, has someone from you working user/password protection connected
to ODBC database for validating of login/password.
Thanks a lot
Vojtech
PS: Just checked PHP manual and found quite lot of weird things around
SETCOOKIE.... :-(