1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MAC address

Discussion in 'PHP' started by divinequran, Mar 1, 2009.

  1. divinequran

    divinequran New Member

    Joined:
    Oct 9, 2008
    Messages:
    62
    Likes Received:
    1
    Trophy Points:
    0
    Occupation:
    Software Engineer
    Home Page:
    Hi,

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

    cpulocksmith New Member

    Joined:
    Jul 23, 2008
    Messages:
    289
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    student
    Location:
    canada
    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.
     
  3. divinequran

    divinequran New Member

    Joined:
    Oct 9, 2008
    Messages:
    62
    Likes Received:
    1
    Trophy Points:
    0
    Occupation:
    Software Engineer
    Home Page:
    Yes, i can get my server information using exec, is there is any option to get my clients IP address.
     
  4. Ryzer

    Ryzer New Member

    Joined:
    Feb 15, 2009
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Pipeline Maintenance
    Location:
    Saskatchewan, Canada
    $_SERVER['REMOTE_ADDR'] is what your looking for?
     

Share This Page