RE: [PHP] Find MAC Address in PHP
| From: | Daevid Vincent | Date: | Tue, 24 Apr 2007 06:12:09 +0000 |
| Subject: | RE: [PHP] Find MAC Address in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253558@lists.php.net to get a copy of this message | ||
This may help you (find .tgz file at the page bottom):
http://daevid.com/examples/dhcp/
This is a little web tool I use to see who is on my LAN
D.Vin
> -----Original Message-----
> From: Nathaniel Hall [mailto:halln@nathanielhall.com]
> Sent: Friday, April 20, 2007 1:00 PM
> To: php-general@lists.php.net
> Subject: [PHP] Find MAC Address in PHP
>
> Hi all,
>
> I am attempting to find the MAC address of systems visiting
> my page from
> the local LAN. I have tried several things, but it appears
> it will not
> let me run system commands. For example, running <?php $MAC =
> system("arp 192.168.200.254"); echo $MAC; ?>" does not give me any
> output. I have copied arp to a place that the apache user
> can execute
> from and ensured arp is executable.
>
> This is on a Fedora Core 6 box running PHP 5.1.6-3.4 and Apache
> 2.2.3-5. Any help is appreciated.
>
> --
> Nathaniel Hall
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>