Re: How to get client mac address in PHP ..? [message #176056 is a reply to message #176040] |
Tue, 22 November 2011 03:08  |
Centurion
Messages: 1 Registered: November 2011
Karma:
|
Junior Member |
|
|
On 2011-11-21 11:15:12 +0000, rrvasanth said:
> Dear friends...
>
> I need to know the MAC address of the connect clients, how can I do
> this in PHP?
>
> Thanks
> Vasanth
30 seconds on Google turned up this:
http://forums.devarticles.com/general-programming-help-4/how-can-i-find-out -the-user-mac-address-1846.html
Be aware, the connecting client's MAC (Ethernet) address will only be
available *IF* that client is on the same broadcast domain as your
PHP/Web server. If they are on a different broadcast domain, you get
nothing.
Broadcast domain is best thought of as LAN/VLAN. In short, the moment
the packet pops up to layer 3 (ie, router/layer 3 switch) between
server and client, you're boned.
Suggest you get a good book on the OSI model and read up on Ethernet,
IP and the layer 4 family (UDP/TCP/etc).
--
James
Let a fool hold his tongue and he will pass for a sage.
-- Publilius Syrus
|
|
|