File: demo.php

Recommend this page to a friend!
  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: 15 years ago
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
?>


For more information send a message to info at phpclasses dot org.