From: "Dan Shirah" <mrsquash2@xxxxxxxxx>
All,
I looked on PHP.net but I couldn't not find anything suitable to answer my
question.
Within PHP, is there a way to pull the name of the user that is currently
logged into the PC?
I know with some of the _SERVER functions you can pull the IP of the
machine
and other data, is there a function within this family that would work?
Thanks,
Dan
What operating system is being run on this personal computer?
Who is running the PHP script?
Is the PHP script being run from a web page or the command line?
On a Mac, if I run phpinfo from a command line script, I see my user name in
6 entries with variants of USER and LOGNAME.
If the user was logged into a PHP web page with say htaccess or a custom
HTML Form, I could see the name he logged in with.
_________________________________________________________________
Don't get caught with egg on your face. Play Chicktionary!
http://club.live.com/chicktionary.aspx?icid=chick_hotmailtextlink2
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php