> -----Original Message----- > From: Ben Sagal [mailto:[EMAIL PROTECTED] > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php