Go4Expert

Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   MAC address (http://www.go4expert.com/forums/mac-address-t16375/)

divinequran 1Mar2009 08:43

MAC address
 
Hi,

How can i get mac address of a remote system, if so could you please send the code.

cpulocksmith 1Mar2009 09:42

Re: MAC address
 
i am going to assume two things 1) you are running windows ans 2) you have there ip address.

go into your cmd and type "nbtstat -a XXX.XXX.XXX.XXX"
where XXX.XXX.XXX.XXX is the ip of the computer that you want to know the ip of. you should get some info and at the bottom is should say MAC Address = then the mac address.

divinequran 5Mar2009 08:40

Re: MAC address
 
Yes, i can get my server information using exec, is there is any option to get my clients IP address.

Ryzer 8Mar2009 23:32

Re: MAC address
 
$_SERVER['REMOTE_ADDR'] is what your looking for?


All times are GMT +5.5. The time now is 10:13.