Re: SmartIRC

From: Date: Sat, 26 Mar 2005 03:08:54 +0000
Subject: Re: SmartIRC
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18351@lists.php.net to get a copy of this message
James Horne wrote:
            Can I use a running bot from another script?
            How?
Not having ever looked at SmartIRC's code, the safest way would be to have an intermediary table that contains information to spit to the channel, and have the bot check the table for new rows while idling. When it finds them, it would delete, then display the rows. The other end would simply insert the thing to display into the table. Be aware - if anyone can access the script that does the queries, you are vulnerable to all kinds of nasty attacks (imagine your bot flooding out as someone does DoS attacks... bad) Good luck :) Greg

« previous php.pear.general (#18351) next »