MAC ADDRESS USING PHP - IP

This is a discussion on MAC ADDRESS USING PHP - IP within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi all, is there a method to retrieve macaddress using php on apache server? At the moment I use cookies &...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-19-2005
Gian
 
Posts: n/a
Default MAC ADDRESS USING PHP - IP

Hi all,
is there a method to retrieve macaddress using php on apache server?
At the moment I use cookies & IP addresso log but I'm not satisfied...
Thanks for your help, Gian.

P.S.
Will a script like these: http://forums.devarticles.com/t1846/s.html be
useful?

O.T.
Someone that knows Java (script) could tell me if exists a class (no
installation) for this purpose?


Reply With Quote
  #2 (permalink)  
Old 09-20-2005
Colin McKinnon
 
Posts: n/a
Default Re: MAC ADDRESS USING PHP - IP

Gian wrote:

> Hi all,
> is there a method to retrieve macaddress using php on apache server?
> At the moment I use cookies & IP addresso log but I'm not satisfied...
> Thanks for your help, Gian.
>


No - because the application only sees the IP address. You could ask the OS
what it thinks...somthing like:

$arp= `/sbin/arp $_SERVER['remote_addr']`;

but remember you'll only see the MAC addresses of machines on your LAN.

C.
Reply With Quote
  #3 (permalink)  
Old 09-21-2005
Anze
 
Posts: n/a
Default Re: MAC ADDRESS USING PHP - IP


Not without hacking - MAC addresses are not visible to the outside world
(your script is part of 'outside world').

Regards,

Anze

Gian wrote:

> Hi all,
> is there a method to retrieve macaddress using php on apache server?
> At the moment I use cookies & IP addresso log but I'm not satisfied...
> Thanks for your help, Gian.
>
> P.S.
> Will a script like these: http://forums.devarticles.com/t1846/s.html be
> useful?
>
> O.T.
> Someone that knows Java (script) could tell me if exists a class (no
> installation) for this purpose?


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:14 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0