Table of Contents
IntroductionWhat is CGI? Why learn it? What do you need to get started? |
|
1 |
Getting StartedWhere to write your programs; how to upload to the server; changing permissions; writing your first CGI |
2 |
Perl VariablesScalars, arrays, and hashes |
3 |
CGI Environment VariablesUsing data from environment variables; writing forms using HTTP GET |
4 |
Processing Forms and Sending MailWriting forms using HTTP POST: a form-to-mail CGI |
5 |
Advanced Forms and Perl Control StructuresHandling radio buttons, checkboxes, and select fields; writing a survey/poll CGI |
6 |
Reading and Writing Data FilesFile permissions; how to open, read, write, and close files |
7 |
Working With StringsComparing, finding, joining, and formatting strings |
8 |
Server-Side IncludesHow to include files and execute CGI programs from within a web page. |
9 |
Working With NumbersNumber operators and functions; random numbers; a random image picker; random rotating ad banners |
10 |
RedirectionSending the viewer to another URL using a CGI script. |
11 |
Multi-Script FormsPassing variables from one script to the next; writing a simple web catalog and order form |
12 |
Searching & SortingFinding something in a string or file; sorting a list of values |
13 |
Regular ExpressionsPattern matching with Perl |
14 |
Perl ModulesTake advantage of Perl's vast library of existing code. |
15 |
Date and TimeHow to find or format a date. Count down (or up) to a date in the past or future. |
16 |
Database ProgrammingAn introduction to working with MySQL databases. Create a database-driven web catalog. |
17 |
HTTP CookiesHow to set and read cookies in your visitors' web browser. |
18 |
Writing ModulesCreate your own custom modules to share code among multiple CGI programs. |
19 |
CGI SecurityProtecting your data. |
20 |
Password ProtectionHow to password-protect scripts and web pages. |
A |
Unix Tutorial and Command ReferenceA quick-reference guide to working with the Unix command line. |
Get the book!Download the digital version immediately, or order a printed copy from Amazon. |