Re: Find MAC Address in PHP
| From: | Satyam | Date: | Sat, 21 Apr 2007 08:19:47 +0000 |
| Subject: | Re: Find MAC Address in PHP | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253407@lists.php.net to get a copy of this message | ||
I'm sorry, I missed that, you are right, unless there are subnets within the company, several offices in distant locations.
Satyam
----- Original Message ----- From: "Zoltán Németh" <znemeth@alterationx.hu>
To: "Satyam" <Satyam@satyam.com.ar>
Cc: "Nathaniel Hall" <halln@nathanielhall.com>; <php-general@lists.php.net>
Sent: Saturday, April 21, 2007 9:10 AM
Subject: Re: [PHP] Find MAC Address in PHP
The OP said he wants MACs for the machines on his local LAN. In that case I don't think he would have meet the things you said. greets Zoltán Németh 2007. 04. 21, szombat keltezéssel 07.49-kor Satyam ezt írta:Don't bother, if you manage to get a MAC, it won't be that of the client machine in the majority of cases since the IP you get for the request is not, in most cases, the one for that machine, but that of the proxy, router and zillion of other things that step in the middle and change the IP. Satyam ----- Original Message ----- From: "Nathaniel Hall" <halln@nathanielhall.com> To: <php-general@lists.php.net> Sent: Friday, April 20, 2007 10:00 PM Subject: [PHP] Find MAC Address in PHPHi 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 269.5.5/769 - Release Date: 19/04/2007 17:56-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.6/770 - Release Date: 20/04/2007 18:43