if (file_exists("index.htm")) { include ("index.htm"); } elseif (file_exists("index.html")) { include ("index.html"); } else { include ("http://www.perfecthosting.co.uk/advert/placeholder.htm"); } ?>