impulse() Posted January 18, 2007 Share Posted January 18, 2007 I have a PHP page and I want to add an AJAX script into there so every 60 seconds another PHP script is run on the server. All the tutorials only seem to explain how to use AJAX to update _POST requests when a text box looses focus. I need an infinite loop that will run every 60 seconds and within that loop it will run a PHP script. Link to comment https://forums.phpfreaks.com/topic/34739-using-ajax-in-a-php-to-run-every-60-seconds/ Share on other sites More sharing options...
ober Posted January 19, 2007 Share Posted January 19, 2007 Use the Javascript timeout() command. Link to comment https://forums.phpfreaks.com/topic/34739-using-ajax-in-a-php-to-run-every-60-seconds/#findComment-164436 Share on other sites More sharing options...
binxalot Posted March 22, 2007 Share Posted March 22, 2007 Thank you, you are awesome. Link to comment https://forums.phpfreaks.com/topic/34739-using-ajax-in-a-php-to-run-every-60-seconds/#findComment-212759 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.