|
| write irc bot in php |
| good idea |
|
66% |
[ 2 ] |
| bad idea |
|
33% |
[ 1 ] |
|
| Total Votes : 3 |
|
| Author |
Message |
Jim Newbie

Joined: 25 Jul 2006 Posts: 1
 
|
Posted: Tue Jul 25, 2006 9:52 pm Post subject: good idea to code an IRC-Bot with PHP |
|
|
hello,
I want to build an irc-bot and found the way to do this by using PHP through PEAR (net_smartirc).
Is it an good idea to code it with PHP?
I see the following advantages:
+ using database with MySQL
+ coding in PHP
+ possibility to create a webinterface
+ ...
... but what about the speed? or ... are there other problems?
thanks 4 thinking about it + helping me
Jim |
|
| Back to top |
|
 |
darkmonkey The Merovingian

Joined: 18 Apr 2004 Posts: 2557 Location: London, England
     votes: 7
|
Posted: Wed Jul 26, 2006 12:03 pm Post subject: |
|
|
Coding it in PHP will be good, as long as you can keep it efficient. You need to be careful not to overload the server on which it runs.
It's a good idea, though . Keep us updated on your progress, if any  _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ] |
|
| Back to top |
|
 |
mattaustin Sentinel

Joined: 19 Jul 2004 Posts: 556 Location: Los Angeles, CA
  votes: 1
|
Posted: Wed Jul 26, 2006 10:26 pm Post subject: |
|
|
I think when you write something you want to be stable and a running app like a bot you should use Perl. Perl can do database all web interface just as easy as PHP. Ive used both a lot, and PHP is ok for front-end, simple things.. but...
This article explains a lot of reasons why "Perl is better":
http://tnx.nl/php _________________ [ matt ] |
|
| Back to top |
|
 |
mat007 Almost An Agent

Joined: 12 Jan 2004 Posts: 1375
   votes: 2
|
Posted: Fri Jul 28, 2006 9:51 pm Post subject: |
|
|
| The irc protocol is simple and very easy to acomplish in php. |
|
| Back to top |
|
 |
mattaustin Sentinel

Joined: 19 Jul 2004 Posts: 556 Location: Los Angeles, CA
  votes: 1
|
Posted: Fri Jul 28, 2006 9:59 pm Post subject: |
|
|
The point is why would you want to write a running app in PHP... when its ment to be a "web language". Its simple in any language..because its a simple protocol. _________________ [ matt ] |
|
| Back to top |
|
 |
mat007 Almost An Agent

Joined: 12 Jan 2004 Posts: 1375
   votes: 2
|
Posted: Sat Jul 29, 2006 9:39 am Post subject: |
|
|
Dono
| mattaustin wrote: | | The point is why would you want to write a running app in PHP... when its ment to be a "web language". Its simple in any language..because its a simple protocol. |
|
|
| Back to top |
|
 |
darkmonkey The Merovingian

Joined: 18 Apr 2004 Posts: 2557 Location: London, England
     votes: 7
|
Posted: Sat Jul 29, 2006 2:43 pm Post subject: |
|
|
Well, if you know PHP then it'll be easier. I'm sure that machine code is the most efficient language, but that's not being recommended because people don't know it. _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ] |
|
| Back to top |
|
 |
|