No Holmes ,Its not working , is there any other way ... And My specific would be something that by Giving an IP or a hostname ,the script should fetch the user logged in currently,, like when we use the nbtstat command on a Windows Domain with the argument as the hostname , it would fetch the details something like this. P:\nikhil\userloggedon> nbtstat -an hydws00014 Local Area Connection: Node IpAddress: [10.103.6.22] Scope Id: [] NetBIOS Remote Machine Name Table Name Type Status --------------------------------------------- HYDWS00014 <00> UNIQUE Registered JUNOHYD <00> GROUP Registered HYDWS00014 <03> UNIQUE Registered HYDWS00014$ <03> UNIQUE Registered HYDWS00014 <20> UNIQUE Registered JUNOHYD <1E> GROUP Registered MSASI <03> UNIQUE Registered =>=> He is the actual user currenly logged on. HYDWS00014 <01> UNIQUE Registered MAC Address = 00-B0-D0-2D-DF-6F Regards, Nikhil. -----Original Message----- From: John Holmes [mailto:holmes072000@xxxxxxxxxxx] Sent: Tuesday, October 12, 2004 12:19 AM To: Mulley, Nikhil Cc: php-general@xxxxxxxxxxxxx Subject: Re: Is there any way of knowing User Currently Logged On? Mulley, Nikhil wrote: > Is there any way of finding the current user logged on the remote system You can try $_SERVER['LOGON_USER'], but I think the "remote" computer has to be in the same domain as the server... -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php