<?php $str = exec("ping -n 1 -w 1 172.19.144.10", $input, $result); if ($result == 0){ echo "<img src=\"on.png\">"; }else{ echo "<img src=\"off.png\">"; } ?>
You have javascript disabled. You will not be able to edit any code.