This script allows to implement a simple cgi chat.
It saves the chat messages in a flat file.
Access control must be done with '.htaccess' or other external
means. A skeleton htaccess file is included as `example.htaccess`
which requires setting of the absolute path to the necessary
`.htpasswd` password file. Please make sure you understand the
workings of htaccess etc. Any risk is with you!
At the beginning of the script, a mailer can be defined which can
be triggered by a special message (by default 'xxxmail'), resulting
in some of the most recent chat lines being sent to a predefined
recipient by e-mail. Please see the source!