CGI Info & Resources

1. What's CGI and why would I want to use it?
2. How do I use Formmail?
3. Where should I put CGI scripts for my domain?
4. What version of Perl is installed? What is the path to Perl? What's my "absolute" path for CGI?
5. What Perl modules are currently installed?
6. Where can I get other CGI scripts?



1. CGI stands for common gateway interface. It allows you to run certain functions on your domain, such as counters, guestbooks, discussion boards, etc. to make your site more dynamic.

2. For complete instructions on using Formmail, please go to your your control panel at http://www.yourdomain.com/cpanel and choose the Formmail option.

3. All CGI scripts should be uploaded to the cgi-bin folder for your domain. Be sure to follow the instructions for the script you are uploading regarding setting permissions on the files and folders you create, as they vary from script to script.

4. The current version of Perl installed is 5. Please use this path in your scripts: #!/usr/bin/perl
The absolute path for CGI is /home/username/public_html/cgi-bin (the script you choose may require the use of a trailing /, please check the installation instructions).

5. The following Perl modules are currently installed

CGI.pm-2.42
DBI-0.93 GD-1.18
HTML-Parser-2.18
MD5-1.7
MIME-Base64-2.05
Msql-Mysql-modules-1.1831 (this is the module that allows perl to communicate with msql and mysql)
ParallelUserAgent-2.31
libnet-1.0605
libwww-perl-5.33

top

6. Other CGI scripts, documentation, and information are available at the following sites:
CGI Resources
4 Guys from Rolla
CGI Directory