web based system for tracking IP address PCs on local network

Discussion in 'PHP' started by cik_nyamuk, Jul 27, 2011.

  1. cik_nyamuk

    cik_nyamuk New Member

    Joined:
    Feb 25, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    student
    Location:
    malaysia
    hello guys....i need your idea on how to develop one web based system to discover all the PCs IP address...and by using the system, we can monitoring the PC remotely...

    Based on what i have learned, to discover the IP address for all of PCs on LAN network is by using command ping -b (broadcast address) on command prompt.....please help me..:baby:
     
  2. pein87

    pein87 Active Member

    Joined:
    Aug 6, 2010
    Messages:
    173
    Likes Received:
    47
    Trophy Points:
    28
    Occupation:
    Web Dev
    Location:
    Limbo
    If they are all on the same network don't they all have the same IP? You could use a system call by using either
    PHP:
    system("ping -b");
    or
    PHP:
    shell_exec("ping -b");
    . I have never attempted to do what you are trying but using those two functions should get you your desired effect. I don't know what the output will be(probably an array) so you'll need to test to see what it returns. Then just store that data into a database and use or make your own php cron that does checks on the pc. You might need phpcli and set a client program on that system. Then use the web based server to tell the client to report computer stats to it.
     
    cik_nyamuk likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice