CGI (Common Gateway Interface) is not a programming language but a standard that allows visitors to interact with your website. CGI scripts can be written in a number of different languages but most are written in Perl
Welcome to Bucaro TecHelp!

Bucaro TecHelp
Maintain Your Computer and Use it More Effectively
to Design a Web Site and Make Money on the Web

About Bucaro TecHelp About BTH User Agreement User Agreement Privacy Policy Privacy Site Map Site Map Contact Bucaro TecHelp Contact RSS News Feeds News Feeds

Victims of Sandy Hook

Stop the Slaughter of Innocents. Congress is bought and paid for by gun lunatics and gun promotion groups. If you want to live in a safe America, help buy Congress back for America. Send a donation to Mayors Against Illegal Guns, 909 Third Avenue, 15th Floor New York, NY 10022

Why Aren't You Using CGI?

The very name CGI used to send chills up my spine. For years I put it in the "too-hard-basket". But like most things in life, CGI is not as scary as it seems. If you have a cgi directory on your website and you know how to FTP files, chances are you can have a CGI script up and running in less than 20 minutes.

CGI (Common Gateway Interface) is not a programming language but a standard that allows visitors to interact with your website. CGI scripts can be written in a number of different languages but most are written in Perl (Practical Extraction and Reporting Language).

This article gives you details of five free CGI scripts that will do the following:

1. Mail out your Newsletter from your server
2. Track the number of times your free E-Book is downloaded
3. Rotate banners on your website
4. Create your own auto responders
5. Allow visitors to recommend your website to friends

At the end of this article are details of where to download these five free scripts. But first, here are some basic guidelines on how to configure and install CGI scripts:

1. CGI programs usually come in a zip file. Unzip the file and open the README file. This document will give you instructions for configuring the program file.

2. Open the program file using a text editor such as NOTEPAD (the program file will usually have the file extension .cgi but may have other extensions such as .pl).

In most CGI programs you will have to configure the following 4 items:

(a) the path to perl.

This is where the perl program resides on your server. The path will usually be: #!/usr/bin/perl but could be: #!/usr/local/bin/perl

If you're unsure what your "path to perl" is, check your web host's online "manual" or FAQs. If you can't find it there, simply ask your web host.

(b) the path to sendmail.

Most CGI programs notify you when your visitors have completed a particular action, and for that, the program needs to know where the "sendmail" program resides on your server. The path to your UNIX sendmail program will usually be: /usr/sbin/sendmail

But it could also be something like this: /usr/lib/sendmail

Again, check the documentation on your web host's website, or simply ask your web host.

RSS Feed RSS Feed


Follow Stephen Bucaro Follow @Stephen Bucaro


Web Design Sections

WordPress Security

90% of business websites have been hacked in the last 12 months. This ebook gives you a complete checklist of things you can do to secure your website without hiring a pricey web developer.

Reader John M Stokes says, "This book is a great resource for security on Wordpress and also does it very quick without having to be a long and boring. Truly worth getting to make sure your Wordpress site is as safe as possible. Click here for more information.

Fire HD
[Site User Agreement] [Privacy Policy] [Site map] [Search This Site] [Contact Form]
Copyright©2001-2016 Bucaro TecHelp 13771 N Fountain Hills Blvd Suite 114-248 Fountain Hills, AZ 85268