|
Posted by kicken on 06/15/05 06:58
Edward Pearson wrote:
> I would personally use perl, however check this out:
> http://www.phpbuilder.com/columns/darrell20000319.php3
>
> php can be used as a shell scripting lang. Is that what u are talking
> about?
>
> 2nd, you seem to want it to run a a daemon, wont MaxExecutionTime affect
> that?
the maximum execution time can be changed using the set_time_limit
function. You can set_time_limit(0) to remove the limit.
PHP is also capable of everything that is desired. I have don several
console-based application using PHP. The main one I have done is a bot
which connects to IRC, similar to eggdrops. I've also made scripts
which downloads and parse information from various sites, some of which
use XML as a datatransport, and I've made socket-servers before which
accept connections and perform certain functions based on the input.
So php is capable, how suitable it is depends on the specifics of the
requirements, and also how knowledged you are at perl vs. php.
Navigation:
[Reply to this message]
|