Setup CGI Application With Available Free CGI Scripts


Is CGI easy? Of course it IS for users who know it well. Is this also true for users who are not good at programming? Ohh?! Some readers with not so much expereince on programming may be shocked by the table of contents even before they seriously begin to work on it and give up. Their reason sound perfect. They don't know the annoying PERL and C, and most important, they even don't want to learn them. Can these people set up their own CGI application? The answer is YES. When I first set up my own CGI applications (one of them is textclock, another is Formail), I was so exciting to see how great they were working. But unforunatly in that time I even didn't know how to program with PERL and what CGI really was. But anyway, they run perfect and they were made by myself! That's made me happy.

Most commonly, the CGI users are not programmers. They are just the common people. They include CGI in their homepages just to add some useful features or just make their web page cool. It's not neccessary for them to know every details of CGI and programming. They can easily take other people's work and benefit themself.

In fact, there are lots of web sites which maintain free CGI scripts that you can free download by yourself. Usually these sites also provide the README file to help you set up your own application. What you need to do is just download the script to your server (modify some parameter is necessary),follow the README file step to step. It will work!

Of all the sites that provide free CGI scripts, probabaly the Matt's Script Archive is the best one. In this site, there are many useful CGI scripts such as Guestbook, Formail,etc written in several programming languages such as PERL and C. We thanks Matt Wright for his great effort to provide us with so powerful and useful CGI scripts. In our lecture we will use Matt's Script Archive 's PERL scripts as examples.

Note the following examples are directly downloaded from Matt's Script Archive, not like the prevoius lectures where the example codes are written by myself.

Download Site Genearl Information

Let's see how we can go to the download site and get helpful information. Let's take Guestbook as an example. First go to the Matt's Script Archive main page. Then click the Guestbook in the Matt's Perl CGI Scripts catagory, you can get to this site: http://worldwidemart.com/scripts/guestbook.shtml. Usually, you can get the following content:

CGI applications Setup Examples