Re: PHP_AUTH_USER

From: Date: Tue, 04 Jun 2002 14:04:37 +0000
Subject: Re: PHP_AUTH_USER
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100573@lists.php.net to get a copy of this message
Hello: > 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? AFAIK $PHP_AUTH_USER is used with SSL and certificates. You can use the visitor ip to know who is, but I think we need more information on what you want to do. Best Regards. ---------------------------------------------------- QaDRAM Studio, RAD Development for the WEB http://studio.qadram.com

« previous php.general (#100573) next »