Skip to content
PHP MySQL AIML Chatbot - One click installation. Fully loaded admin area to admin your chatbot. Set up multiple chatbots. Foreign language support. XML/JSON responses or just plain HTML. Massive community of users. Twitter Plugins and lots and lots more. Please feel free to fork the DEV branch and contribute. :)
PHP JavaScript HTML CSS
Latest commit 912d249 May 27, 2016 @Dave-Morton Dave-Morton Merge pull request #132 from LorenzCK/feature-condition-tag
Support for simple pattern expressions in condition tags
Failed to load latest commit information.
admin Bug fixes, update version info, update CHANGELOG May 25, 2016
chatbot Merge pull request #132 from LorenzCK/feature-condition-tag May 27, 2016
config Expanded AIML search and updated common words Jun 13, 2013
gui Bug fixes, update version info, update CHANGELOG May 26, 2016
install Bug fixes, update version info, update CHANGELOG May 26, 2016
library Bug fixes, update version info, update CHANGELOG May 26, 2016
logs Bug fixes, update version info, update CHANGELOG May 26, 2016
scripts Update Dev Branch Version to Match Master May 19, 2016
.gitattributes Version 2.1 Refactor Feb 18, 2013
.gitignore updated gitignore to make safer against adding config files by accident Apr 9, 2016
CHANGELOG Bug fixes, update version info, update CHANGELOG May 26, 2016
LICENSE added gpl license Apr 4, 2014
README.md Bug fixes, update version info, update CHANGELOG May 26, 2016
TODO Bug fixes, update version info, update CHANGELOG May 26, 2016
aiml tag list.txt Bug fixes and experimental feature support Nov 9, 2012
build.txt Minor bug fix Feb 4, 2015
favicon.ico Multiple Bug Fixes and Tweaks May 28, 2013
fresh_install_README.txt Housekeeping Mar 28, 2013
getbots.php Bug fixes, update version info, update CHANGELOG May 26, 2016
index.php Bug fixes, update version info, update CHANGELOG May 26, 2016
robots.txt Added robots.txt, minor code cleanup Oct 24, 2014
style.css Bug fixes and experimental feature support Nov 9, 2012
version.txt merge bau May 25, 2016

README.md

Program O

Readme info:

  • Version: 2.5.4
  • Authors: Elizabeth Perreau and Dave Morton
  • Date: May 17th 2014

NEWS: Program O version 2.4.6 introduces changes to the config file, so will require at least an overlay install.

Introduction

Program O is an AIML interpretor written in PHP, and uses a MySQL database to store chatbot information, including the AIML files used to formulate the chatbot's responses.

Configuration

Program O supports the creation of multiple chatbots. The individual bots are configured from the admin area. Bot specific variables are stored in the database. Configuration of Program O itself is done in /config/global_config.php

Using the bot

After installation you can chat with your Program O chatbot using several methods:

For advanced botmasters and programmers, it is possible to use the Program O API to access a chatbot from stand-alone applications through HTTP requests. for information on how to create and/or use such a stand-alone application, please visit the Program O website.

Foreign Language Support

v2.2 and higher now supports Unicode characters, allowing chatbots to be created that use non-English languages, such as Arabic, Chinese, French, Greek, Russian, Turkish, Thai, and many others.

Upgrade

Upgrading from version 1 to version 2 is no longer supported. If you want to "upgrade" your chatbot from version 1 to version 2, you will need to save your AIML files from the current chatbot, perform a "clean install" of Program O, and then upload the AIML files to the new installation. With the release of Program O version 2.2, the differences in structure and functionality between version 1 and version 2 became too great to continue supporting the transition.

Clean install

Starting with version 2.0.1 and later, there is an automatic installer provided for clean installation. Simply point your web browser to your freshly uploaded Program O directory to run the install script. Then follow the instructions on the page. The installer is designed to only run once.

Please note that the installer script will NOT create your database for you, nor will it install your bot's AIML files. The database, along with the username/password used to access it, needs to be created in advance. See the file fresh_install_README.txt for more information.

After you create the database, and once you complete the installation process, simply go to your new Program O admin page (e.g. http://www.example.com/ProgramO/admin) and log in using the admin credentials you provided during the install process. Then select "Upload AIML" from the navigation link on the left and upload your AIML files. Then sit back and enjoy your new bot!

Program O has a WordPress Plugin!

If you have a WordPress driven website, and wish to incorporate your Program O chatbot into your website with a minimum of fuss and hassle, then maybe the Elizaibots plugin is what you need! Add an Elizaibots chatbot to your wordpress site using the shortcode to embed the bot and conversation on your blog. Keep your readers amused! Check out http://wordpress.org/plugins/elizaibot-chatbots/ for more details.

Something went wrong with that request. Please try again.