> I'm trying to get the computername... :-) Since your not passing the script any ip address, I presume that the Script you are trying to run gets the computername of the computer it is run on? If you got that to work, they only place you could run it is on the server, thus getting the server computername. Why don't you use: nbtstat -A <ip address> Then parse the results from that. It should contain the computername of the computer at that ip address. ************************ This message has been delivered to the Internet by the Revenue Internet e-mail service ************************* -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php