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 #176054 is a reply to message #176053] Mon, 21 November 2011 21:54 Go to previous messageGo to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On Mon, 21 Nov 2011 15:17:48 -0500, Doug Miller wrote:

> On 11/21/2011 11:43 AM, Thomas 'PointedEars' Lahn wrote:
>> Denis McMahon wrote:
>>
>>> On Mon, 21 Nov 2011 03:15:12 -0800, rrvasanth wrote:
>>>> I need to know the MAC address of the connect clients, how can I do
>>>> this in PHP?
>>>
>>> You need a course in ethernet protocols.
>>
>> You need to learn to spell "Ethernet" and understand what it is.
>
> Oh, looky, a spelling fLame.
>>
>>> Then you'll understand why either (a) you can not need this
>>> information or (b) you have been given an impossible coding (or
>>> homework?) assignment.
>>
>> It is neither irrelevant nor impossible to obtain that information
>> using PHP. You would know that if you knew that MAC addresses do not
>> require Ethernet.
>>
> LMAO. How do you propose that he can do that?
>
> Hint: re-read the post above as many times as needed until you realize
> that the OP wrote "MAC address" and not "IP address".

Actually, I would love to see TPEL code a web page that displayed the MAC
address of any computer that requested it. However, it's impossible for
him to do it! He does not have the ability to code such a page. He
couldn't even manage it for the satisfaction of proving me wrong!

I know that the only MAC address that appears on packets arriving at my
web server on my lan are those of my router (when a page is requested
from outside the lan), or other interfaces on the lan. Anything connected
over wireless to the wap presents the wap MAC address to the rest of the
lan.

Of course, if the OPs application is hosted on a server using some other
connection technology than ethernet, then my comments about ethernet
might not apply, but to the best of my knowledge, most servers operate on
ethernet connected hardware, and it's a fairly fundamental fact of
ethernet networking that ethernet MAC addresses do not generally travel
past media segment boundaries, such as routers and waps.

Rgds

Denis McMahon

psst Thomas, prove me wrong, code a web page that displays the MAC
address of the computer requesting the web page, and post the code to
prove you did it in php. Because I say you can't do it!
[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: Fri Nov 22 09:04:34 GMT 2024

Total time taken to generate the page: 0.04857 seconds