Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001072

Re: [PHP] .htaccess From: Sheridan Saint-Michel (webmaster <email protected>)
Date: 07/24/01

Whatever they put in the name field of the .htaccess prompt is stored in

$PHP_AUTH_USER

and what they put in the password field is stored in

$PHP_AUTH_PW

You can read more about this here
http://www.php.net/manual/en/features.http-auth.php

Sheridan

----- Original Message -----
From: <jon <email protected>>
To: <php-general <email protected>>
Sent: Tuesday, July 24, 2001 9:33 AM
Subject: [PHP] .htaccess

>
> If I have a directory protected with an .htaccess file that requires users
to
> log in, is there anyway to determine what username they used in my PHP
scripts?
>
>
> --Jon
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>