You are using a browser which is not compatible with CSS (for more information, see Tara's tutorial). Because of this, it is possible that our website may not appear correctly in your browser. We apologise for the inconvenience, and recommend you upgrade your browser to one which is compatible with CSS. For more information, please visit our Browser Upgrade page.

4WebHelp

Online Tools: Ping

Enter IP or Host
Enter Count
Latest comments
David Kittell
I had an extra function in the script take out the message() and it works

<?php
function p($target){
if (! $msg .= trim(nl2br(`ping -c5 '$target'`))) #bugfix
$msg .= "Ping failed. Host may not be active.";
echo $msg;
}

echo p($host);
?>

I have Ping disabled on my server but you can see it at
http://code.msdllp.com/test/ping.php?host=msdllp.com
Marc
Yeah its broken, i think this one needs to be fixed or removed.
http://www.bloggerfly.net - Free Blogs for all
Mark
Yeah it doesn't work, not displaying a ping output.
claudio
script is broken

Add a new comment

This page is © Copyright 2002-2017, 4WebHelp. It may not be reproduced without 4WebHelp's prior permission.