Welcome!
Welcome to PHP Chat, a PHP/FI
based chat room.
If you don't know about PHP, I strongly suggest you check it out!
What is PHP Chat?
PHP Chat is an interactive chat room. PHP Chat features:
- Channels defined by a text file
- A user log
- Chat text is filtered, no tags allowed!
- Words starting with http:, ftp:, and mailto: are auto-linked
- Frames or non-frames versions
- Emoticon Support :-)
- Bold, Italics, or Big font support
Setting it up
First off, download one of the files:
Each of them contain the same necessary files for your chat.
- Uncompress the zip file into the directory you want your chat to be in.
- Make the log file (chat1.log) readable and writable by your web server.
You can do this by:
chmod 777 chat1.log
You'll have to do this with any other log files you create
when you have multiple channels.
- Make the user log readable and writable, with:
chmod 777 users.log
- Check it out.
- If everything works, play with channels.txt to add a channel or two.
- Have fun with it. :-)
How does it work?
This version of chat works with PHP set up as a module for
Apache. It can be easily modified for the CGI version.
The chat works by reading and writing to a file, one file per channel.
You can define channels in channels.txt by assigning a
channel name, then a file to use for that channel in the file
channels.txt:
Channel Name=chat1.log
Important! Have only as many lines as you have channels!
Blank lines will screw it up. Do not include the equal sign in the
channel name. Do not include spaces in between the equal sign and the
file name.
The chat script reads in and appends to the chat file of the
channel currently selected. If that file grows to above 20k,
the log file is whacked and replaced with the last 15 lines of
chat.
More Little Details
The users.log file logs the person's name, email (what they fill of it),
and remote_host information.
This version of PHP Chat is shareware. I'm asking a small fee
($50 US) for commercial sites that elect to use it. Feel free
to try it out, though, for 30 days.
You can mail a check to me at:
Travis Ortlieb
2500 Jackson Square 907
San Antonio, Texas 78230
Thanks for checking this out. If you have any comments, suggestions, jokes,
or flames, email me at tortlieb@tristero.com.
Last updated on Sept 3, 1996