Skip to content

CGI Programming with Perl

Best in textbook rentals since 2012!

ISBN-10: 1565924193

ISBN-13: 9781565924192

Edition: 2nd 2000

Authors: Shishir Gundavaram, Scott Guelich, Gunther Birznieks, Linda Mui

List price: $39.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Programming on the Web today can involve any of several technologies, but the Common Gateway Interface (CGI) has held its ground as the most mature method--and one of the most powerful ones--of providing dynamic web content. CGI is a generic interface for calling external programs to crunch numbers, query databases, generate customized graphics, or perform any other server-side task. There was a time when CGI was the only game in town for server-side programming; today, although we have ASP, PHP, Java servlets, and ColdFusion (among others), CGI continues to be the most ubiquitous server-side technology on the Web. CGI programs can be written in any programming language, but Perl is by…    
Customers also bought

Book details

List price: $39.99
Edition: 2nd
Copyright year: 2000
Publisher: O'Reilly Media, Incorporated
Publication date: 7/9/2000
Binding: Paperback
Pages: 472
Size: 6.25" wide x 9.00" long x 1.00" tall
Weight: 1.628
Language: English

Preface
Getting Started
History
Introduction to CGI
Alternative Technologies
Web Server Configuration
The Hypertext Transport Protocol
URLs
HTTP
Browser Requests
Server Responses
Proxies
Content Negotiation
Summary
The Common Gateway Interface
The CGI Environment
Environment Variables
CGI Output
Examples
Forms and CGI
Sending Data to the Server
Form Tags
Decoding Form Input
CGI.pm
Overview
Handling Input with CGI.pm
Generating Output with CGI.pm
Alternatives for Generating Output
Handling Errors
HTML Templates
Reasons for Using Templates
Server Side Includes
HTML:: Template
Embperl
Mason
JavaScript
Background
Forms
Data Exchange
Bookmarklets
Security
The Importance of Web Security
Handling User Input
Encryption
Perl's Taint Mode
Data Storage
Summary
Sending Email
Security
Email Addresses
Structure of Internet Email
sendmail
mailx and mail
Perl Mailers
procmail
Data Persistence
Text Files
DBM Files
Introduction to SQL
DBI
Maintaining State
Query Strings and Extra Path Information
Hidden Fields
Client-Side Cookies
Searching the Web Server
Searching One by One
Searching One by One, Take Two
Inverted Index Search
Creating Graphics on the Fly
File Formats
Outputting Image Data
Generating PNGs with GD
Additional GD Modules
PerlMagick
Middleware and XML
Communicating with Other Servers
An Introduction to XML
Document Type Definition
Writing an XML Parser
CGI Gateway to XML Middleware
Debugging CGI Applications
Common Errors
Perl Coding Techniques
Debugging Tools
Guidelines for Better CGI Applications
Architectural Guidelines
Coding Guidelines
Efficiency and Optimization
Basic Perl Tips, Top Ten
FastCGI
mod_perl
Works Cited and Further Reading
Perl Modules
Index