Page 1 of 1

Re: retrieving mac address

Posted: Thu Apr 21, 2011 11:02 am
by pickle
Unless you're running on an internal network, no there isn't. The MAC address isn't available on the networking layer Apache & PHP work on.

Re: retrieving mac address

Posted: Thu Apr 21, 2011 12:34 pm
by strafingmoose
You might be able to find the information using the ping command and parsing the output of it.

Re: retrieving mac address

Posted: Thu Apr 21, 2011 12:55 pm
by pickle
Nope, MAC addresses are layer 2, IPs are layer 3.