Technology

Tag Archives

Archive of posts published in the category: Chapters
Apr
5

Sample Chapters: CGI Programming 101

Sample Chapters

CGI Programming 101 will show you how to add guestbooks, page counters, shopping carts and other interactive elements to your website. It’s easy to learn; if you know HTML, you can learn CGI. You don’t need any prior programming experience.

The first six chapters from the book are available below (or you can download them as a printable PDF file – 78 pages, 609K). Get started today!

Introduction

What is CGI? Why learn it? What do you need to get started?

1

Getting Started

Where to write your programs; how to upload to the server; changing permissions;
writing your first CGI

2

Perl Variables

Scalars, arrays, and hashes

3

CGI Environment Variables

Using data from environment variables; writing forms using HTTP GET

4

Processing Forms and Sending Mail

Writing forms using HTTP POST: a form-to-mail CGI

5

Advanced Forms and Perl Control Structures

Handling radio buttons, checkboxes, and

Read More