note 17224 added to features.http-auth
| From: | axon at php2 dot chek dot com | Date: | Fri, 30 Nov 2001 03:11:50 +0000 |
| Subject: | note 17224 added to features.http-auth | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-21468@lists.php.net to get a copy of this message | ||
Incidentally, $PHP_AUTH_USER and $PHP_AUTH_PW ARE escaped for ' and
" (replaced by \' and \") just like form vars, so using
addslashes() is not necessary.
In fact, I believe you'd need to use stripslashes() if you were
using a flat file or .htpasswd to authenticate your users rather
than a database.
--
http://www.php.net/manual/en/features.http-auth.php
http://master.php.net/manage/user-notes.php?action=edit+17224
http://master.php.net/manage/user-notes.php?action=delete+17224
http://master.php.net/manage/user-notes.php?action=reject+17224