| |
| |
Acknowledgments | |
| |
| |
| |
World Wide Web Documents | |
| |
| |
The Universe of Web Documents | |
| |
| |
References | |
| |
| |
| |
The CGI Standard | |
| |
| |
The Need for a Standard | |
| |
| |
The Goals of CGI | |
| |
| |
CGI and the HyperText Transfer Protocol | |
| |
| |
CGI Environment Variables | |
| |
| |
CGI Standard Output | |
| |
| |
CGI Standard Input | |
| |
| |
References | |
| |
| |
| |
Obtaining CGI Access | |
| |
| |
Purchasing CGI Access on a Commercial Server | |
| |
| |
Common Rules for Installing CGI Programs | |
| |
| |
Creating Your Own Internet Site | |
| |
| |
Configuring Web Servers to Recognize CGI Programs | |
| |
| |
References | |
| |
| |
| |
Some Simple CGI Examples | |
| |
| |
Hello: Sending HTML to the Browser | |
| |
| |
Leveraging Existing Programs: cuptime | |
| |
| |
| |
Virtual Directory Spaces: Taking Advantage of PATH_INFO | |
| |
| |
What Are Environment Variables? | |
| |
| |
Using PATH_INFO: Creating a Virtual Document Space | |
| |
| |
The World Birthday Web | |
| |
| |
| |
Browsing Birthdays | |
| |
| |
When PATH_INFO Isn't Enough | |
| |
| |
References | |
| |
| |
| |
Identifying the User: More CGI Environment Variables | |
| |
| |
More Environment Variables | |
| |
| |
REMOTE_IDENT: The Pitfalls of User Identification | |
| |
| |
AUTH_TYPE and REMOTE_USER: Identifying the User on Your Own Terms | |
| |
| |
Applications of REMOTE_USER | |
| |
| |
References | |
| |
| |
| |
Handling User Input: Interacting with Forms | |
| |
| |
Creating Forms | |
| |
| |
Processing Form Input | |
| |
| |
Accepting Comments | |
| |
| |
Existing Comment-form and Guestbook Packages | |
| |
| |
References | |
| |
| |
| |
Using cgic and cgi-lib: Complete CGI Solutions | |
| |
| |
The cgic Library: A Better API for CGI | |
| |
| |
The World Birthday Web | |
| |
| |
| |
Using cgic | |
| |
| |
cgi-lib: Simplifying CGI for Perl Programmers | |
| |
| |
The World Birthday Web | |
| |
| |
| |
Using cgi-lib | |
| |
| |
| |
Sending E-mail from CGI Programs | |
| |
| |
Alternatives to Using CGI | |
| |
| |
Security Risks of Sending E-mail with /bin/mail | |
| |
| |
Sending E-mail with sendmail | |
| |
| |
Identifying the Sender: How Much Can Be Done? | |
| |
| |
A Complete E-mail Form: Accepting Bug Reports | |
| |
| |
Existing CGI E-mail Packages | |
| |
| |
References | |
| |
| |
| |
Multimedia: Generating Images in Dynamic Documents | |
| |
| |
Pointing to Existing Images in a CGI-generated HTML Page | |
| |
| |
Generating Dynamic Images: Mime Types and Multimedia | |
| |
| |
A CGI Program That Delivers an Image Instead of HTML | |
| |
| |
Off-the-shelf Ways to Generate Images | |
| |
| |
Using the gd Graphics Library | |
| |
| |
Drawing Graphs on the Fly | |
| |
| |
References | |
| |
| |
| |
Advanced Forms: Using All the Gadgets | |
| |
| |
New Tricks with Text Elements | |
| |
| |
A Complete Example | |
| |
| |
| |
Advanced CGI and HTML Features | |
| |
| |
A Problem: Sending Updated Information to the User | |
| |
| |
Client Pull: Web Pages That Update Themselves | |
| |
| |
Server Push: Pushing the Limitations | |
| |
| |
Making Decisions Based on Browser Type | |
| |
| |
Implementing Imagemaps | |
| |
| |
Redirection: Forwarding Requests to Another URL | |
| |
| |
Using capture: Debugging CGI Programs in Real Debuggers | |
| |
| |
References | |
| |
| |
| |
The Solar System Simulator: Pushing the Limitations of CGI | |
| |
| |
Is CGI the Right Way to Do This? | |
| |
| |
Designing the SSS: Overcoming CGI Limitations | |
| |
| |
Perl Notes | |
| |
| |
The SSS in C: nph-sss.c | |
| |
| |
The SSS in Perl: nph-sss | |
| |
| |
| |
| |
| |
The Security Problem | |
| |
| |
The Design of WWWWS | |
| |
| |
Simulating Stock Prices in C: simtrade.c | |
| |
| |
Simulating Stock Prices in Perl: simtrade | |
| |
| |
Installing and Using simtrade | |
| |
| |
The trade Program: Interacting with the User | |
| |
| |
| |
What's Next: CGI and Beyond | |
| |
| |
For Some Tasks, CGI is Overkill | |
| |
| |
Improved APIs: Faster Replacements for CGI | |
| |
| |
The Fundamental Limitation of CGI | |
| |
| |
Addressing CGI Limitations: Web Browser Programming Tools | |
| |
| |
Why CGI Isn't Going Away Any Time Soon | |
| |
| |
References | |
| |
| |
| |
CGI Environment Variables | |
| |
| |
| |
Internet Media Content Types | |
| |
| |
| |
cgic Reference Manual | |
| |
| |
| |
gd Reference Manual | |
| |
| |
| |
CD Contents and Other Sources. 0201422190T04062001 | |