exec("arp $_SERVER[REMOTE_ADDR]", $output);

$output[0] should be something like
? ( at 00:E0:4C:00:30:2D [ether] on eth0

Chris Cook wrote:

> Hello all,
> I am working on a LAN application and am interested in obtaining the 
> user's network card address to limit usage of the program. Is there a 
> way to do this in PHP?
> I am on a network that uses DHCP so using the IP address probably wont 
> work and I am also worried about IP spoofing.
> Thanks for any help you can provide,
> Chris
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com

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

Reply via email to