|
Posted by Jim Moseby on 10/11/05 18:19
> -----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
Navigation:
[Reply to this message]
|