Login   Register  
PHP Classes
elePHPant
Icontem

File: demo.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tom Reitsma  >  Web Site Ping  >  demo.php  >  Download  
File: demo.php
Role: Example script
Content type: text/plain
Description: Demo file
Class: Web Site Ping
Access a server to determine its response time
Author: By
Last change:
Date: 2005-04-07 11:27
Size: 571 bytes
 

Contents

Class file image Download
<?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                                               
?>