|
|
Contents |
chat.pl
The Perl script filechat.plis the server side of the chat.
Beginning of the filechat.pl:
#!/usr/bin/perl # # Morevil Chat 3.3 http://www.morevil.com # ##################### $key =""; # Registration key $admin = ""; # Nickname of the administrator (to kick the users from chat) $log = "On"; # Chat session Log, Set to one of: On | Off $path = ""; # The path to the directory where the datafile will be created. # NOTE: You must use forward slashes instead of backslashes # (e.g., "c:/chat" instead of "c:\chat"). #####################
The following settings must be set:
#!/usr/bin/perl - This is on the very first line of the script and must point to where Perl is on your server.
$key Registration key to convert the evaluation version to a registered one.
After you buy a license of the Morevil Chat you will have received the registration key by email.$admin Administrator's name (to kick the users from chat).
If you have come in the chat as the administrator the button "kick" appears under the button "ignore".$log Chat session Log, Set to one of: "On" | "Off".
If "On", the chat session will be recorded in the filechat.log.$path Specifies the directory under which the datafiles will be created.
If you leave this variable as is, the datafiles will be created in the same directory as the filechat.pl.
Set the permission on this directory to 777.
Note: Variables in Perl are represented by a dollar sign followed by the name of the variable. The variable name is case-sensitive. The text values must be enclosed by quotes. The values must be ended by a semicolon.
|
|
Contents |