So I've written the program that I've wanted in PHP: it parses the source code of a website, flags certain thread titles, then sends me the results.
Question: how do I keep this program running without exit? I'm hoping there is some way other than having a script or another program having to continually call my php program to run.
Is it possible to have php program that continues execution without exit (without using one of those buggy php-to-exectuable converters)?
I think I may have dead-ended here, as I realize that PHP is mostly for a one-time runthrough to collect user data on the server, and then spit something back, and then "close". But I really need this program to stay open on its own and continually poll a forum.
thanks!
Never-ending PHP
Started by Coldblackice, Mar 06 2009 02:28 AM
2 replies to this topic
#1
Posted 06 March 2009 - 02:28 AM
|
|
|
#2
Guest_Jordan_*
Posted 06 March 2009 - 04:58 AM
Guest_Jordan_*
Moved to the correct forum. If you run the PHP script in CLI mode, there will be no maximum execution time. Otherwise, you'll always be limited by the param in your php.ini file.
#3
Posted 06 March 2009 - 01:53 PM
or if available, run it each minute in a cronscript, maybe that's enough.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall


Sign In
Create Account

Back to top









