A PHP script that can be used to check whether your website is up and the requested page being served contains expected content.
The script will email an alert showing the list of checks done and the failures if any of the site checks fails.
Simply change the EMAIL_TO and EMAIL_FROM constants at the top of the script.

