Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: Lan Pc Login time Date: Fri, 29 Nov 2013 07:57:06 +0100 Lines: 26 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net e3ZAAk8owMJpCKHVxE5Opw2j4TEZdTG1Wiae69EB+qAdwIMFtm Cancel-Lock: sha1:q7TRV0/TDpulb2Rk3dQ5JVnKTKw= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: Xref: csiph.com comp.lang.php:12017 On 29/11/13 07:27, Andy wrote: > Hi, > > I have a Small office. and i have 5 PC there. i in bit concer about the Programming in PHP i want to get the Login Time of All my PC on Lan. > > my question is :- "How to Get the Lan System Login time at lan" > > > i use the > echo system("systeminfo | find /i 'Boot Time'"); > > it works fine for my Pc and Shows the Login Time of My Server > what should i Do for the Client? No real help for you here, as I woudl have used who, but that ain't supported in your installation. If you are thinking of monitoring your computers, I would just recommend you to use nagios or icinga, there is no point in trying to reinvent the wheel when there is professional open source solutions which already do the job well. -- //Aho