RE: [PHP] Is there any way of knowing User Currently Logged On?

From: Date: Tue, 12 Oct 2004 04:50:50 +0000
Subject: RE: [PHP] Is there any way of knowing User Currently Logged On?
Groups: php.general 
Request: Send a blank email to php-general+get-199246@lists.php.net to get a copy of this message
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@charter.net] Sent: Tuesday, October 12, 2004 12:19 AM To: Mulley, Nikhil Cc: php-general@lists.php.net Subject: Re: [PHP] 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

« previous php.general (#199246) next »