FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to get client mac address in PHP ..?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How to get client mac address in PHP ..? [message #176056 is a reply to message #176040] Tue, 22 November 2011 03:08 Go to previous message
Centurion is currently offline  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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: i getting this warning
Next Topic: Hmm..why doesnt this work?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun May 18 06:56:07 GMT 2025

Total time taken to generate the page: 0.03254 seconds