Reply to Re: [PHP] Get Mac Address

Your name:

Reply:


Posted by Rory Browne on 10/10/05 06:29

On 10/10/05, M. Sokolewicz <tularis@php.net> wrote:
> That will give you the *local* mac address, not that of the user
> visiting your page. The problem is the fact that the mac address is not
> sent as part of the REQUEST. As such it's not possible for PHP to find
> out what it is. So, unfortunately, no. (Though it's a very common
> question on this list)
>


Normally I would agree, but he said he was running a local intranet server.

arp will work, if you're on the same network as the computer you are
querying, but if not, then arp will give you the mac address of the
router.

arp can be used to get the mac of a certain machine as well(identified
by its IP), as well as listing out the cache of machines that have
recently connected.




> - tul
>
> Rory Browne wrote:
> > On unix
> > man arp
> >
> > on windows
> > arp/h
> > arp/help
> > arp/?
> >
> > sorry for short and sweet resp, but I'm falling asleep.
> >
> > On 10/9/05, Ben Sagal <bmsagal@gmail.com> wrote:
> >
> >>I have a local intranet server, running apache1.3+php4. Is it
> >>possible to get the mac address of computes which access on of my php
> >>pages?
> >>
> >>Ben
> >>
> >>--
> >>PHP General Mailing List (http://www.php.net/)
> >>To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >
> >>
>
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация