http header question
| From: | Kevin McCarthy | Date: | Fri, 22 Dec 2000 01:17:15 +0000 |
| Subject: | http header question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-31509@lists.php.net to get a copy of this message | ||
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