Re: http header question
| From: | Toby Butzon | Date: | Fri, 22 Dec 2000 01:33:00 +0000 |
| Subject: | Re: http header question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31511@lists.php.net to get a copy of this message | ||
How about using the REMOTE_USER environment variable?
Toby Butzon
[ criticism spurs improvement ]
----- Original Message -----
From: "Kevin McCarthy" <kevin@bodynsoul.com>
To: <php-general@lists.php.net>
Sent: Thursday, December 21, 2000 8:17 PM
Subject: [PHP] http header question
: All -
:
: I have some directories on an Apache server which contain PHP scripts that
: access a Mysql database. These directories are password protected using
: Basic Authentication (.htaccess files, etc ).
: In order to log activity carried out through the scripts in these
: directories, I'd like to be able to have the PHP code access which logins
: are accessing the scripts. As this information is passed in clear text
: through the http headers requesting the pages generated by the script, I
: would imagine it should be pretty simple to grab the info.
:
: But I am not sure exactly how to go about it. Any ideas?
:
: TIA.
:
: Kevin McCarthy Body & Soul
: http://www.bodynsoul.com
:
:
: --
: PHP General Mailing List (http://www.php.net/)
: To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
: For additional commands, e-mail: php-general-help@lists.php.net
: To contact the list administrators, e-mail: php-list-admin@lists.php.net
:
: