> I would like to have the authenticated user name
> appear in my apache access web logs but I am not using
> HTTP authentication.  I am using phplib to have better
> control over the authentication process.
> Is there a way to set this apache api variable
> from php code so that apache will log these user names?

I think not.

That variable is sent/set by the *browser* to Apache on each URL request.

What you *could* do is log stuff yourself from PHP using
http://php.net/error-log

You could log the time, their IP, and their user_agent using that, and then
later mix-and-match those entries with Apache entries to figure out who
asked for what.

For that matter, you could turn off Apache logging, and use PHP's to log
everything you need.

--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to