> 
> I was able to find a nifty package.... Don't remember where I 
> got it from, but I have all the binaries for it.... It is a 
> Win32 version of popular unix commands. It has Bash, cp, cat, 
> chmod, grep, ls, whoami (Which is what you need) and serveral 
> other things... Simply add <?php  $username = 
> exec("c:\\tools\\whoami");  echo $username . "<br />"; ?> 
> This should be what you are looking for. I'll do some 
> googling to see if I can find where I got the files from for 
> you... Until then if you want any of them let me know.
> Dallin Jones
> 

I don't think that's quite what he wants. Since PHP is run server-side, that
would give you the name of the IIS user on the server (Internet Guest
Account) and would say nothing of the client.

Sounds pretty cool though.

Jon


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to