Spring break!

Body

Finally spring break. Now I can finally get caught up to all the [half-ass] work I gotta get done.

My web hoster  needed a status script to show which server was online and offline. I whipped up a little script for them, check it out here: http://www.web-hosting-service.org/status.php


You'd have to use four cronjobs with it (for each server) but it works fantasticly. Every hour (or whatever the time is) it runs the script for each of the servers. It stores that info (whether the server is up or down) in the database and displays it on a page.
 

Comments are appreciated ;)


I'm off to go eat something, I'll post tomorrow or something.