note 14529 deleted from function.header by jimw
| From: | jimw@php.net | Date: | Wed, 31 Oct 2001 22:08:46 +0000 |
| Subject: | note 14529 deleted from function.header by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19807@lists.php.net to get a copy of this message | ||
[Editor' s Note: You can setup .htaccess and 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 "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.