MAC address

divinequran's Avatar, Join Date: Oct 2008
Contributor
Hi,

How can i get mac address of a remote system, if so could you please send the code.
0
cpulocksmith's Avatar, Join Date: Jul 2008
Skilled contributor
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.
0
divinequran's Avatar, Join Date: Oct 2008
Contributor
Yes, i can get my server information using exec, is there is any option to get my clients IP address.
0
Ryzer's Avatar, Join Date: Feb 2009
Go4Expert Member
$_SERVER['REMOTE_ADDR'] is what your looking for?