Re: Cookies etc.
| From: | Robert V. Zwink | Date: | Wed, 26 Jul 2000 13:34:53 +0000 |
| Subject: | Re: Cookies etc. | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-1516@lists.php.net to get a copy of this message | ||
There is an interesting article on phpbuilder about user authentication:
A Complete, Secure User Login System
Tim Perdue
http://www.phpbuilder.com/columns/tim20000505.php3
-Rob Z.
http://zwink.levitate.org
----- Original Message -----
From: "Vojtech Dvorak" <vojtech_dvorak@servind.cz>
To: <php-db@lists.php.net>
Sent: Wednesday, July 26, 2000 9:02 AM
Subject: [PHP-DB] Cookies etc.
> 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.... :-(
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>