Location : Web Hosting - Knowledge Base Home - CGI Information and Resources

CGI Information and 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 website, such as counters, guestbooks, discussion boards, etc. to make your website 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 website. 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/local/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. To check full list of perl modules installed in your server , please login to your hosting account control panel to check, if the required modules for your scripts are missing, please drop a note to our support helpdesk, and we will take care of it for you.


6. Other CGI scripts, documentation, and information are available at the following sites:
CGI Resources
Official Perl Site