search for books and compare prices
Tables of Contents for Cgi Programming in C & Perl
Chapter/Section Title
Page #
Page Count
Acknowledgments
ix
 
World Wide Web Documents
1
12
The Universe of Web Documents
2
8
Conclusion
10
1
References
11
2
The CGI Standard
13
8
The Need for a Standard
13
1
The Goals of CGI
14
1
CGI and the HyperText Transfer Protocol
15
1
CGI Environment Variables
16
1
CGI Standard Output
16
2
CGI Standard Input
18
1
Conclusion
19
1
References
19
2
Obtaining CGI Access
21
14
Purchasing CGI Access on a Commercial Server
22
4
Common Rules for Installing CGI Programs
26
2
Creating Your Own Internet Site
28
1
Configuring Web Servers to Recognize CGI Programs
28
4
Conclusion
32
1
References
32
3
Some Simple CGI Examples
35
12
hello: Sending HTML to the Browser
36
5
Leveraging Existing Programs: cuptime
41
4
Conclusion
45
2
Virtual Directory Spaces: Taking Advantage of PATH_INFO
47
20
What Are Environment Variables?
48
2
Using PATH_INFO: Creating a Virtual Document Space
50
1
The World Birthday Web, Part I: Browsing Birthdays
51
14
When PATH_INFO Isn't Enough
65
1
Conclusion
65
1
References
66
1
Identifying the User: More CGI Environment Variables
67
10
More Environment Variables
68
4
Remote_Ident: The Pitfalls of User Identification
72
1
Auth_Type and Remote_User: Identifying the User on Your Own Terms
72
2
Applications of Remote_User
74
1
Conclusion
75
1
References
75
2
Handling User Input: Interacting with Forms
77
18
Creating Forms
78
2
Processing Form Input
80
2
Accepting Comments
82
10
Existing Comment-form and Guestbook Packages
92
1
Conclusion
93
1
References
93
2
Using cgic and cgi-lib: Complete CGI Solutions
95
24
The cgic Library: A Better API for CGI
96
5
The World Birthday Web, Part II: Using cgic
101
10
cgi-lib: Simplifying CGI for Perl Programmers
111
1
The World Birthday Web, Part III: Using cgi-lib
112
6
Conclusion
118
1
Sending E-mail from CGI Programs
119
14
Alternatives to Using CGI
119
2
Security Risks of Sending E-mail with /bin/mail
121
1
Sending E-mail with sendmail
122
2
Identifying the Sender: How Much Can Be Done?
124
1
A Complete E-mail Form: Accepting Bug Reports
125
7
Existing CGI E-mail Packages
132
1
Conclusion
132
1
References
132
1
Multimedia: Generating Images in Dynamic Documents
133
34
Pointing to Existing Images in a CGI-generated HTML Page
133
4
Generating Dynamic Images: MIME Types and Multimedia
137
1
A CGI Program That Delivers an Image Instead of HTML
137
5
Off-the-shelf Ways to Generate Images
142
1
Using the gd Graphics Library
143
7
Drawing Graphs on the Fly
150
16
Conclusion
166
1
References
166
1
Advanced Forms: Using All the Gadgets
167
22
New Tricks with Text Elements
167
12
A Complete Example
179
9
Conclusion
188
1
Advanced CGI and HTML Features
189
32
A Problem: Sending Updated Information to the User
189
1
Client Pull: Web Pages That Update Themselves
190
6
Server Push: Pushing the Limitations
196
6
Making Decisions Based on Browser Type
202
5
Implementing Imagemaps
207
7
Redirection: Forwarding Requests to Another URL
214
2
Using capture: Debugging CGI Programs in Real Debuggers
216
3
Conclusion
219
1
References
219
2
The Solar System Simulator: Pushing the Limitations of CGI
221
40
Is CGI the Right Way to Do This?
221
1
Designing the SSS: Overcoming CGI Limitations
222
8
Perl Notes
230
1
The SSS in C: nph-sss.c
230
15
The SSS in Perl: nph-sss
245
14
Conclusion
259
2
World Wide Web Wall Street: An Advanced CGI Application
261
54
The Security Problem
261
2
The Design of WWWWS
263
4
Simulating Stock Prices in C: simtrade.c
267
3
Simulating Stock Prices in Perl: simtrade
270
1
Installing and Using simtrade
271
1
The trade Program: Interacting with the User
272
40
Conclusion
312
3
What's Next: CGI and Beyond
315
8
For Some Tasks, CGI is Overkill
315
2
Improved APIs: Faster Replacements for CGI
317
1
The Fundamental Limitation of CGI
318
1
Addressing CGI Limitations: Web Browser Programming Tools
318
3
Why CGI Isn't Going Away Any Time Soon
321
1
Conclusion
321
1
References
322
1
Appendix 1 CGI Environment Variables
323
6
Appendix 2 Internet Media Content Types
329
4
Appendix 3 cgic Reference Manual
333
12
Appendix 4 gd Reference Manual
345
38
Appendix 5 CD Contents and Other Sources
383