note 14529 modified in function.header.php by andy
| From: | andy@php.net | Date: | Thu, 02 Aug 2001 20:35:53 +0000 |
| Subject: | note 14529 modified in function.header.php by andy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16244@lists.php.net to get a copy of this message | ||
[You can setup .htaccess can when user logs in you can use $PHP_AUTH_USER and $PHP_USER_PW to get
the user/pass. If you want PHP to send the authenticate header, use this function to send a
header("WWW-Authenticate: [...]") header and use the same variables to validate the
username/pass --Andy (andy@php.net)]
I want to know if there is a way to pass a .htaccess authentication with php. For example I want to
have a link with some parametres that do this authentication automaticaly. If there is anyway to do
this, please give me a light.
http://www.php.net/manual/en/function.header.php.php