Jump to content

[SOLVED] Simple php IRC Bot Question


Undoubtedly0

Recommended Posts

Hi all! I recently copied the php code for a simple IRC bot found here: http://www.dreamincode.net/forums/showtopic82278.htm but now I would like to run it and I don't know how.  I have programmed IRC bots before in mSL, but never yet in php so I am completely lost.  Thanks for your time - let me know if this doesn't make sense or if I'm an idiot.

Link to comment
Share on other sites

The php core interpreter can be run in two different contexts.  One is as a standalone program, and the other is as a webserver module.  The command line interpreter is the standalone program.  Usually they are both installed when you install php.  You didn't indicate what operating system you are running under, but in either case, you want the program to be in the path.  If it's windows then the program is named php.exe.  If linux/unix it's just going to be php.  You would run these from a shell.  In linux that's pretty standard stuff, but in windows you'd need to run it either in cmd or command, or use the windows run command to run it.

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.