You are here: RE: [PHP] Get Mac Address « PHP « IT news, forums, messages
RE: [PHP] Get Mac Address

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация