Check your server status - a basic ping
  Check your server status - a basic ping - Hosted by Hostway
2D Graphics
Web Design & Development
Business Applications
Business Development
Desktop Programming
Operating Systems
Video Editing
Miscellaneous
Newsletter
User Login
  • Username
  • Password
Stats
  • Tutorials: 21,924
  • Categories: 572

PHP Tutorials : Check your server status - a basic ping

In this tutorial I will show you how to check whether a domain, server is up or down and how fast it is. Generally speaking we will implement a ping command with PHP.
Check your server status - a basic ping  tutorial
    View Tutorial

Detailed Information

     Tutorial: Check your server status - a basic ping
     Date Listed: 2007-03-31
     Submitted By: phptoys2
     Total Hits: 4763
     Rating Tutorial Rating 3.07Tutorial Rating 3.07Tutorial Rating 3.07Tutorial Rating 3.07Tutorial Rating 3.07 (156 votes)

    Comment On Tutorial     View Tutorial
    Report Broken Link

Jul 12th, 2007 at 11:21 PM

can you make me a script to check if my host is up if not redirect to another link example : if google.com is not up go on yahoo.com but all in backround . i dont want to see my clints that ..

Sep 1st, 2007 at 10:54 AM

To the author of the script - very nice script.

To answer your question h4x
Yes you can, use an if and else statement thats said alive or dead so on the dead statement add your redirect to the new site and that should be it.






© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT