RE: [PHP] Get Mac Address

From: Date: Tue, 11 Oct 2005 15:19:40 +0000
Subject: RE: [PHP] Get Mac Address
Groups: php.general 
Request: Send a blank email to php-general+get-223900@lists.php.net to get a copy of this message
> -----Original Message----- > From: Ben Sagal [mailto:bmsagal@gmail.com] > Sent: Tuesday, October 11, 2005 7:05 AM > To: M. Sokolewicz > Cc: Rory Browne; php-general@lists.php.net > Subject: Re: [PHP] Get Mac Address > > > I did mention this is an INTRANET server so all clients are be local, > there are no router between the clients and the server. > > how would i go about accessing arp from php, (the server runs Linux)? > Hi Ben, Try: /* notice the backtics, and that arp on linux usually needs to run as root */ $arpoutput = /sbin/arp -a; JM

« previous php.general (#223900) next »