Thomas Seifert wrote:
I would recommend the cronjob too but if you want to just keep the script running, do 
a while-loop around your code, i.e.

while(1) {
  ... your code

  sleep(120); // sleep 120 seconds
}

---
the require should be outside of the loop IMHO ;).


Or if you want to run the script from the browser, use meta-refresh, see "Refresh Page" thread on this list.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to