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
Well, try this:
$REMOTE_USER
or
$PHP_AUTH_USER
or
$HTTP_SERVER_VARS["REMOTE_USER"]
or
$HTTP_SERVER_VARS["PHP_AUTH_USER"]
or
$HTTP_SERVER_VARS{"PHP_AUTH_USER"}
or
$HTTP_SERVER_VARS{"REMOTE_USER"}
...make your choice...
RenzE
Rahul Bhide wrote:
2 matches
Mail list logo