I am pretty new to PHP but I want to crate a website uptime checker which should email me whenever my websites are down.
This means that the script should run non stop. Can this be done in PHP? How?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. You want to run a script at a set interval instead. Cron is what you want.
Here’s a tutorial to get started. http://net.tutsplus.com/tutorials/php/managing-cron-jobs-with-php-2/