Net_SmartIRC and $_GET
| From: | cooz | Date: | Fri, 12 Jan 2007 11:09:21 +0000 |
| Subject: | Net_SmartIRC and $_GET | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-26330@lists.php.net to get a copy of this message | ||
hi,
first of all i must say that SmartIRC is a great project, made my life a lot of easier!
i would like to ask is it and if yes how to be able to forward variables using $_GET method to ircbot,
eg: www.host.com/private/ircbot.php?chan=test&msg=just%20making%20small%20test
would send 'just making small test' to '#test' channel
it probably has to be done with $irc->registerActionhandler() somehow,
cause after $irc->listen(); "No further lines of PHP code will be processed after this call"(as in manual)
but i have no idea how to create such method which would react on $_GET.....
thanks for help in advance,
cooz.