Working with Perl/CGI in your id.fci.net directory:
Adding Scripts To Your Page..
Note: PERL/CGI Scripts should only attempted by the computer savy. (you know who you are)!
Perl/CGI scripts add a lot of functionality to a page on the Internet. There are several scripts that you can create and find on the Internet. If you have your own that you wish to add to your directory, first you must make sure to have the appropria
te steps to have the program executable. Making these scripts executable so that they can be called from within your HTML code takes a few steps. The steps are outlined below:
- First, double check the the first line in the file is as follows:
This tells the program where to locate the perl program on the system.
- Transfer the file to the appropriate directory.
- The rights to this file need to be changed so that other users can execute it. Type the following line, replacing the filename.ext(where filename is the name and .ext is the extention) with the name of your script:
chmod 755 filename.ext You will need to use a telnet program to do this. Typically we use EWAN.
- The file must have the extension .cgi for the program to be executable. The following will change the extention of the file to .cgi:
cp filename.ext filename.cgi
- Now the file will be executable by others, as well as yourself, when it is called from your HTML.
To add a counter to your page is fairly simple. Add this line to your HTML page where you would like the counter to appear:
<img src="/cgi-bin/Count.cgi?df=username.dat" align=absmiddle>
where "username" is replaced by your username.
There are several additional options that you may change. For example the
style of numbers or the color of the border or even whether the border
exist. These are all talked about in the counter
For any questions, either e-mail Adam Fishman, Webmaster or fill out the Support Request Form for further help.