1. Computing & Technology

Writing CGI Programs and Scripts

Writing a CGI Program or Script is similar to writing any other C program or Perl script. There are some things you should know, like how to display your results on a Web page, and how to debug.

Installing a Guestbook

Find out what your readers think of your site with a guestbook. Learn how to add a remotely hosted guestbook, or host your own.

Perl @ About

If you're looking for more help with Perl and CGI, then the About Guide to Perl has all the answers you need.

CGI Resource Index

This is one of the best sites I've seen for finding CGI scripts, both remotely and locally hosted. If the script you need isn't here, you'll probably have to write it yourself.

CGI for the Total Non-Programmer

This is a great introductory tutorial. It shows you how to create a CGI using Perl on Unix.

CGI from WDVL

Here is a clear overview of how CGI works, including a sample program that creates the Web page for you.

CGI Made Really Easy

Getting started with CGI really is as simple as James Marshal writes in this short, intelligent "How To".

CGI Programming 101

A very comprehensive tutorial on CGI divided into "classes".

CGI Programming FAQ

A very comprehensive list of common questions and answers about CGIs.

CGI Scripts

Here is a clear description of CGIs, how they interact with the server, and how you can use the information to write scripts.

CGI tcl Home Page

Tcl is another language used for writing CGIs, and cgi.tcl is a complete library of CGI calls.

CGIc

An ANSI C library of CGI calls for creating CGIs in C. Very useful.

Common Gateway Interface

NCSA gives a short overview of CGI with lots of links to specific examples.

Easy CGI FAQ

This companion guide to CGI Made Really Easy answers 9 commonly asked questions about CGI.

Flexible CGI Output with HTML Templates

Learn how to make complex applications that can be used across many sites with templates.

Perl5 CGI.pm Library

The CGI.pm library is a very useful Perl library. It makes all of the tricky parts of CGIs easy.

Sites That are Really Programs

If you are planning to deliver dynamic content to your Web site, then you will be creating programs that build Web sites.

Writing Secure CGI Scripts

If you are going to write CGI scripts you should know how to protect your script and your server. While not a comprehensive list, this includes some of the common errors.

Your First CGI Program!

Fish get eaten on this page, but with that analogy, you learn how CGI scripting accesses data and handles your forms.

Discuss in my forum

©2012 About.com. All rights reserved.

A part of The New York Times Company.