Q&A: How can I check regularly another website within my PHP scripts?

Question by Goodwine: How can I check regularly another website within my PHP scripts?
Well I’m making a “tool” to check another website and make statistics about it, I need it to be checked every 5 minutes, I can make it possible with my browser but I must have my computer ON 24/7, and thats not good for my bill xD
So how can I make it happen on the server-side?
@first answer:
so what should I do D:

Best answer:

Answer by Colanth
Since the script stops running when you log out (or when the session times out), you can’t. PHP isn’t designed for that sort of thing.

Give your answer to this question below!

Get the book now