Users Online Installation
Powered by Perlonline.com

Installation.

Unzip the onlineXX.zip file into a separate directory in your hard disk.

Using any text editor, open online.cgi and check if you need to change any of the default settings. You most likely don't need to. A brief description of what each setting does is available in the file itself.

IMPORTANT FOR WINDOWS SERVERS ONLY

Open online.cgi and enter the full path of script in the beginning chdir command. Read the instructions before the chdir command.

Your files are now ready for uploading via FTP.

Follow these instructions exactly.

Go to the /cgi-bin/ directory on your server and create a directory called online

Change you FTP upload method to ASCII (important) and upload online.cgi into /cgi-bin/online directory.

CHMOD online.cgi to 755 (CHMOD is the command to set the property of a file in unix. Right click on the file using your FTP client)

Create a subdirectory /cgi-bin/online/data and CHMOD this directory to 777

Your files should look like this now

/cgi-bin/online/    
  online.cgi
 
    /data

There are two methods of adding the usersonline into your page. Javascript and SSI.

An example of both methods is given in test.shtml Upload it to your server and access it using your browser http://www.yourdomain.com/test.shtml

Javascript

We will start with the easier method javascript.

Add the following code to where you want the online figure to appear on your page.

<script language="JavaScript" src="/cgi-bin/online/online.cgi?output=javascript">
</script>

You can also use this method on pages that are not on your server. Like auctions etc. You can also set the default output method to javscript in online.cgi, in which case you don't need to specify the output=javascript variable.

SSI (Server Side Include)

SSI by default will work only on files ending with .shtml. Refer to the guide on our site on how to enable it on all your pages.

Add the following code to where you want the online figure to appear on you page.

<!--#include virtual="/cgi-bin/online/online.cgi" -->

Legal

This code must not be altered or sold in any manner. Any use of this program is entirely at the risk of the user. No liability will be accepted by the author.

Use of the software will be taken as acceptance of the above terms.

Hope you enjoy using this Software, it you have any suggestions on how to improve it, do email us.

The Perlonline.com Team.
Url : http://www.perlonline.com