Ping server : System Command : Development PHP Source Code


PHP Source Code » Development » System Command »

 

Ping server




<?php
   $server = "www.navioo.com";

   $count = 3;

   echo "<pre>";
      system("/bin/ping -c $count $server");
   echo "</pre>";

   system("killall -q ping");
?>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Development
» System Command