User Control Panel
Advertisements

HELP US, HELP YOU!

good idea to code an IRC-Bot with PHP

 
Post new topic   Reply to topic    Bot Depot Forum Index -> General Programming Questions
View unanswered posts

write irc bot in php
good idea
66%
 66%  [ 2 ]
bad idea
33%
 33%  [ 1 ]
Total Votes : 3

Author Message
Jim
Newbie
Newbie


Joined: 25 Jul 2006
Posts: 1


PostPosted: Tue Jul 25, 2006 9:52 pm    Post subject: good idea to code an IRC-Bot with PHP Reply with quote

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
The Merovingian


Joined: 18 Apr 2004
Posts: 2557
Location: London, England
Reputation: 39.3Reputation: 39.3Reputation: 39.3Reputation: 39.3
votes: 7

PostPosted: Wed Jul 26, 2006 12:03 pm    Post subject: Reply with quote

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 Smile. Keep us updated on your progress, if any Smile

_________________
~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Back to top
mattaustin
Sentinel
Sentinel


Joined: 19 Jul 2004
Posts: 556
Location: Los Angeles, CA
Reputation: 50.7
votes: 1

PostPosted: Wed Jul 26, 2006 10:26 pm    Post subject: Reply with quote

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
Almost An Agent


Joined: 12 Jan 2004
Posts: 1375

Reputation: 15.8Reputation: 15.8
votes: 2

PostPosted: Fri Jul 28, 2006 9:51 pm    Post subject: Reply with quote

The irc protocol is simple and very easy to acomplish in php.
Back to top
mattaustin
Sentinel
Sentinel


Joined: 19 Jul 2004
Posts: 556
Location: Los Angeles, CA
Reputation: 50.7
votes: 1

PostPosted: Fri Jul 28, 2006 9:59 pm    Post subject: Reply with quote

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
Almost An Agent


Joined: 12 Jan 2004
Posts: 1375

Reputation: 15.8Reputation: 15.8
votes: 2

PostPosted: Sat Jul 29, 2006 9:39 am    Post subject: Reply with quote

Dono Very Happy
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
The Merovingian


Joined: 18 Apr 2004
Posts: 2557
Location: London, England
Reputation: 39.3Reputation: 39.3Reputation: 39.3Reputation: 39.3
votes: 7

PostPosted: Sat Jul 29, 2006 2:43 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> General Programming Questions All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group