RE: Get Mac Address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Ben Sagal [mailto:bmsagal@xxxxxxxxx]
> Sent: Tuesday, October 11, 2005 7:05 AM
> To: M. Sokolewicz
> Cc: Rory Browne; php-general@xxxxxxxxxxxxx
> Subject: Re:  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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux