Re: Can I make a process run in background?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Actually, what you are looking for is an eggdrop bot which is written in TCL. PHP in my humble opinion was not designed to handle something like that as it requires realtime processing. Someone correct me if I'm wrong but that isn't what PHP was designed to do was it?

There are many eggdrop bots out there and are very easy to setup and administer.


On Nov 6, 2007, at 12:05 PM, Luca Paolella wrote:

Hi,

I'm very grateful for your help (thanks to everybody!), but maybe I didn't explain myself correctly, I'm sorry. What I need is the bot to log onto the server and, being logged as a user, to send some periodic messages on a channel (<Bot> Hello!) while listening for events and reacting consequentially (<User> !say Hi <Bot> Hi), so running two parallel scripts that connect separately won't do. A friend of mine suggested me a solution: he said that maybe two php scripts could "share" the same connection to the irc server so that while the first one processes the events, the second one acts in background, is it possible?
The script already runs via terminal, anyway, on Linux (Debian)

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



--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424
www.raoset.com
japruim@xxxxxxxxxx

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux