PHP WEBCHAT



About PHPWebChat

This is a simple example of PHP capabilities. Any feedbacks are welcome. Feel free to modify and use this example and if you have any comments to make
  • please send me an email at : gygy@csit-sun.pub.ro
  • or visit my website : http://www.csit-sun.pub.ro/~gygy/



    Download PHPWebChat files
    Enter the chat


    In order to install this PHP example you must have a web server running and the php module running inside the web server. ( see PHP documentation )

    For example if your OS is Linux you must have Apache web server and the PHP module compiled and installed inside Apache.

    Any version bigger then 1.7 work with PHP4 and PHP3. I don't use the session management functions anymore, so the browser don't need to have cookies enabled.

    Some of the older version like 1.7 need PHP4 or greater.

    Click here for ChangeLog file



    If all this are OK you must simply put the files inside your website and I hope will work.
    The scripts create 2 files in /tmp directory :

  • /tmp/chat-file.txt
  • /tmp/chat-users.txt
    This files stores the chat messages and the chat user list. On other platforms like Mac or M$ Windoze you must change the "chat.ini" file to use another directory for files.

    Warning the new modul admin.php is intended for the chat administrator only!
    So you must change the ADMIN_NAME and ADMIN_PASS to your name and pass.
    These are set in admin.php file. If you let the default settings anyone could play with your chat !

    HAVE FUN !!!!

    Adrian Minta Gheorghe