Location: PHPKode > scripts > Web Site Ping > web-site-ping/demo.php
<?php
###################################################
// Ping Class supplied by Antido @ phpclasses.org #
// You are free to modify as you wish :)          #
//                                                #
// Ping? Pong!                                    #
###################################################

require("class.ping.php");

ping :: site("www.phpclasses.org", "Ping response of {site}: {time}"); // Where {site} will be replaced with the pinged site
																	   // And {time} will be replaced with the time in ms											   
?>
Return current item: Web Site Ping