faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

22 of 116 people (19%) answered Yes
Recently 4 of 10 people (40%) answered Yes


How can I get the remote PC's MAC Address?

Feb 26th, 2008 00:06
dman, Articles Way, Ayse Geertsma, Dan V, jae red, http://www.ttnr.org

I think you can't. At least not by TCP/IP. There's always an exeption 
but in general you just can't. MAC adresses are for internal use only 
so it would be like asking for the ipnumber from an internal range.
What whould you want with the MAC address anyway?
I would think it would make a nice random id
Okay, better make up one and put it in a database on your server and 
a cookie on the client. A MAC address SHOULD be unique but in a larger 
compagny (over 5000 pc's) I've found identical MACs twice.
i hope that helps.