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 &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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? |
|
|||
|
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. |
|
|||
|
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? |
![]() |
| Thread Tools | |
| Display Modes | |
|
|