Jump to content

Birdmansplace

Members
  • Posts

    170
  • Joined

  • Last visited

Everything posted by Birdmansplace

  1. this doesnt work. and cant figure out why. no matter what ip i give it says off line. thanks for the help
  2. how would i go about doing that?
  3. only one problem. regardless of the state thecomputer is i get online no matter what
  4. thanks... code that works for me <?php include("html/sidebar.html"); ?> <div id="mainContent"> <h1> Main Content </h1> <p><?php $ping_ex = exec("ping -c4 127.0.0.1", $ping_result, $pr); if (count($ping_result) > 1){ echo 'Ping online - response'; } else { echo 'Ping offline - response'; } ?>
  5. been searchin the site/web and found code thats simple but doesnt work. I have a personal web server running with various things and a place to upload or down load files from out side my lan. I am lookin for a basic code that can use the servers system host file to ping the rest of the network computers. Simple as Computer a: on or off, computer b,c,d,e and so on. no need for time just a single request to find out if its on or not. thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.