LICENSE ________


The use of this software is free. You can use it and modify it under
your own responsibility. Any improvement introduced in the software must
be shared with the community. You must conserve the credit of all the
people who have participated in this creation.





SERVER REQUIREMENTS_________________________


-PHP3 or higher





CLIENT REQUIREMENTS ________________________


-JavaScript -Flash 4 or higher





INSTALLATION ___________


1- Open the file "chat_config.txt". You can find it in "chat/"
directory.

2- Replace the value behind the equal sign
"http://www.yourdomain.com/chat/" by the directory url where you'll
place this file.

3- Upload the file "chat.php" and the directory "chat" to your server
(exactly in the same directory you have just configured in the file
"chat_config.txt"). Don't upload the file "chat.swf" in ASCII mode. If
you upload in ASCII mode a flash file it'll have problems to run.

4- Assign the following privileges to the files "msg.txt", 
"users.txt" and "banned_ip.txt" (within chat/required/): the owner has
permission for read, write and execute, and the group and the world
permission for reading and writting (chmod 766). All the other archives
can have permission of reading and writing for the owner and permission
for reading for the group and the world (chmod644).

5- IT'S ALL. NOW IT MUST BE WORKING. Write the url in your browser
(chat.php within the directory you configured in "chat_config.txt") and
try it.





SCRIPT CUSTOMIZATION _______________


The file "config.txt" within the directory "required/" have some
variables with you can use to customize the script.

-$correct_time : Difference in seconds with time in the server. If the
server is not in your same timing zone you can fit this value so the
script does not show to the time in the server but the one in your real
location. It admits negative and positive values (default value 0)

-$chat_lenght : Number of messages showed in the chat room. Don't use a
very high value if you don't want to saturate the server. (default value
15)

-$review_lenght : Number of messages showed when you review messages
from the chat room. This value must be smaller the the next variable
(default value 500)

-$total_lenght : Number of messages saved by the chat. When the chat
reaches this value, it conserves only the amount defined in the previous
variable. In this way, the file cannot grow indefinitely. This value
must be bigger than the previous variable (default value 1000)

-There are also a lot of variables you can translate or modify in order
to fit your style. The meaning of this variables are explained in the
file itself.





HTML CUSTOMIZATION ___________________________


The file "chat.php" at the first directory level is an HTML file that
you can customize whenever you respect scripts that contains.

The same happens with the file " index.php " within the directory
"chat/"

If you want, you can customize the administration pages too (admin.php,
adminips.php and adminusers.php).

The rest of files are php scripts.



FLASH CUSTOMIZATION___________________________________


Within directory "flash_source/" you can find the file "chat.fla". You
can edit this file and fit it to your necessities.  If you are not very
expert in Flash and Actionscript, try not modify more than the essential
thing (text and colours). Of course, you are free to modify everything
you want in the files and scripts under your own responsibility.