Reply to Re: PERL or PHP for a regular console application?

Your name:

Reply:


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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация