Date: 06/04/02
- Next message: Christoph Starkmann: "[PHP] Secure File Upload"
- Previous message: 1LT John W. Holmes: "Re: [PHP] MacOSX / php.ini newbie question"
- In reply to: Fifield, Mike: "[PHP] PHP_AUTH_USER"
- Next in thread: Fifield, Mike: "RE: [PHP] PHP_AUTH_USER"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> I have a bunch of pages on my site inside an apache .htaccess protected
> directory. After visitors have logged in I am on part of my site I need to
> find out which user it is that has logged in. I thought this information
was
> stored in the $PHP_AUTH_USER variable, but when I print this variable it
is
> empty. Does anyone know of way to tell on apache 7 how to tell with php
who
> is logged in?
PHP might not be very stable with apache 7... :)
What version of PHP are you using? Try using the variable
$_SERVER['PHP_AUTH_USER'] or $HTTP_SERVER_VARS['PHP_AUTH_USER']. If it's not
in _SERVER, someone please correct me.
---John Holmes...
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Christoph Starkmann: "[PHP] Secure File Upload"
- Previous message: 1LT John W. Holmes: "Re: [PHP] MacOSX / php.ini newbie question"
- In reply to: Fifield, Mike: "[PHP] PHP_AUTH_USER"
- Next in thread: Fifield, Mike: "RE: [PHP] PHP_AUTH_USER"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

