MAC address

Contributor
1Mar2009,08:43   #1
divinequran's Avatar
Hi,

How can i get mac address of a remote system, if so could you please send the code.
Skilled contributor
1Mar2009,09:42   #2
cpulocksmith's Avatar
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.
Contributor
5Mar2009,08:40   #3
divinequran's Avatar
Yes, i can get my server information using exec, is there is any option to get my clients IP address.
Go4Expert Member
8Mar2009,23:32   #4
Ryzer's Avatar
$_SERVER['REMOTE_ADDR'] is what your looking for?