On 7/27/07, Dan Shirah <mrsquash2@xxxxxxxxx> wrote: > 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 > I couldn't hear you at first over your away message conversations. ;-P I know Perl (and, inherently, PHP) has a getenv identity REMOTE_USER (http://hoohoo.ncsa.uiuc.edu/cgi/env.html), but I haven't had success employing it.... but I think I only tried it once, about six years ago, just to see if it would work. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php