1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

PHP Server Status Script

Discussion in 'Web Design & Development' started by TomBullock, Oct 25, 2007.

Thread Status:
Not open for further replies.
Advertisement
  1. TomBullock

    TomBullock Banned Thread Starter

    Joined:
    Oct 20, 2007
    Messages:
    51
    Hey
    Does anyone have a PHP script that shows the status of a certain server.
    I want it on my site so down the side, it says 'Online' in green when my webserver is online and 'Offline' in red when my webserver is offline.
    Also i would like one exactly the same for my radio server.

    Sorry if its a stupid question, im just starting to learn PHP.

    Thanks
    Tom Bullock :)
     
  2. madd74

    madd74

    Joined:
    Nov 9, 2003
    Messages:
    285
  3. haswalt

    haswalt

    Joined:
    Nov 22, 2004
    Messages:
    414
    i have one you amy be interested in, it may do more than you want tho.

    Out of interest how will it helkp telling people your web server is down when you site will be down if the server is offline?


    Here is an example:
    http://www.lqdinternet.com/server_status/status.html
     
  4. TomBullock

    TomBullock Banned Thread Starter

    Joined:
    Oct 20, 2007
    Messages:
    51
    One is for my radio server, so obviously when its not broadcasting it says 'Offline' in red and 'Online' in green when it is.
    And when i say for my server, i mean my server at home.
    I do use web hosting, but i dont have the space to hold everything so i hold things on my home server.
    So one for the radio and one for the home server.
     
  5. madd74

    madd74

    Joined:
    Nov 9, 2003
    Messages:
    285
    In my link I found something else... it might work better for you than the original link there, as it would allow you to use custom icons... so when it is down, you could have one image, and if up, a nice pict of your mug or call letters or something!
     
  6. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/643492

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice