Home CGI101.COM: Tools for Building A Better Website

CGI Programming 101: Learn CGI Today!

CGI Programming 101 will show you how to add guestbooks, page counters, shopping carts and other interactive elements to your website. CGI programming is easy to learn; if you know HTML, you can learn CGI. You don't need any prior programming experience. See what people are saying about CGI Programming 101!

Getting Started
You'll need a few things before you can start writing CGI programs. You'll need a web server, for one. Chances are good that your current web host or ISP already supports CGI programs, but if you aren't sure, ask them. This book is geared towards Unix, but you can easily set up Apache and Perl on Mac and Windows. I've written several tutorials of how to get started; choose the one that's right for you:
  • Windows XP: how to set up Apache and Perl; how to configure Apache; where to write your programs; differences between CGI programs on XP and Unix
  • Mac OS X: how to configure Apache (which you already have installed); where to write your programs
  • Unix: How to upload programs to your Unix-based ISP; Unix tutorial; where to write your programs; Unix permissions.

Once you've gotten your server set up, you're ready to start writing CGI programs. Start with the Introduction:

When you're ready to go beyond the online class, order the book and learn how to work with MySQL databases, how to build your own shopping cart, how to password-protect your site, and more. (You can view the source code for all of the projects in the book using the links below.)

How to Order CGI Programming 101:

If you'd like to learn how to build your own message board or web log (blog) programs using CGI, don't miss CGI Programming 201.

Source Code from Remaining Chapters:

This book and class is written by Jacqueline Hamilton. This material is copyrighted; no part of this material may be posted on another website without permission from the author.

Have a comment? Send mail.

More Resources:

Top of Page Home