sessions and REMOTE_USER

From: Date: Thu, 29 Mar 2001 13:01:41 +0000
Subject: sessions and REMOTE_USER
Groups: php.general 
Request: Send a blank email to php-general+get-46080@lists.php.net to get a copy of this message
Gurus, I am a relative newbie to sessions in php. Question: How can I get the loginname of the user . Can session and session variables get this??. Another way I have tried(but unsuccessfully !!) is to have a .htaccess file in the directory . Once the user logs in I use the following code to get his login name in a variable. <?php $f=getenv("REMOTE_USER"); print "$f"; ?> but on execution nothing gets printed. Any solutions ?? thanks in advance, ~Rahul

« previous php.general (#46080) next »