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
--
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]