Jump to content

how to run an irc bot in php


lamia98

Recommended Posts

Looking at the documentation you edit config.php then visit http://localhost/phpbot404.php

 

If all you want is a bot, it's much easier to use mirc to make your own scripts or download them from many places.

 

If you want something for a website, consider lightirc or something like qwebirc

 

Tried many irc frontends and most are undesirable,

I love php, but have yet to find one irc frontend that actually can work well written in php.

Link to comment
Share on other sites

It's not supposed to run from the browser, no bot is. A bot is a script that will need to run continuously for a long time. These kinds of scripts are not supposed to be run from the browser via apache as you may have issues with the server killing it due to a timeout.

 

Just run the script from the shell as designed, forget about running it via the browser.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.