Teach Yourself Cgi Programming With Perl 5 in a Week (Teach Yourself Series) [2nd ed.] 9781575211961, 1575211963

Book is GOOD but the included CD is difficult to navigate. To tell you frankly upto now I cannot find where are the samp

240 101 5MB

English Pages 372 Year 1996

Report DMCA / Copyright

DOWNLOAD DJVU FILE

Table of contents :
Lokale Festplatte......Page
CGI Programming on the World Wide Web......Page 1
[Chapter 1] The Common Gateway Interface (CGI)......Page 2
[Chapter 1] 1.2 CGI Applications......Page 4
[Chapter 1] 1.3 Some Working CGI Applications......Page 6
[Chapter 1] 1.4 Internal Workings of CGI......Page 8
[Chapter 1] 1.5 Configuring the Server......Page 11
[Chapter 1] 1.6 Programming in CGI......Page 13
[Chapter 1] 1.7 CGI Considerations......Page 16
[Chapter 1] 1.8 Overview of the Book......Page 17
[Chapter 2] Input to the Common Gateway Interface......Page 19
[Chapter 2] 2.2 Using Environment Variables......Page 21
[Chapter 2] 2.3 Accessing Form Input......Page 26
[Chapter 2] 2.4 Extra Path Information......Page 31
[Chapter 2] 2.5 Other Languages Under UNIX......Page 33
[Chapter 2] 2.6 Other Languages Under Microsoft Windows......Page 36
[Chapter 2] 2.7 Other Languages on Macintosh Servers......Page 38
[Chapter 2] 2.8 Examining Environment Variables......Page 40
[Chapter 3] Output from the Common Gateway Interface......Page 42
[Chapter 3] 3.2 CGI and Response Headers......Page 44
[Chapter 3] 3.3 Accept Types and Content Types......Page 46
[Chapter 3] 3.4 The Content-length Header......Page 48
[Chapter 3] 3.5 Server Redirection......Page 50
[Chapter 3] 3.6 The "Expires" and "Pragma" Headers......Page 52
[Chapter 3] 3.7 Status Codes......Page 54
[Chapter 3] 3.8 Complete (Non-Parsed) Headers......Page 56
[Chapter 4] Forms and CGI......Page 58
[Chapter 4] 4.2 Sending Data to the Server......Page 65
[Chapter 4] 4.3 Designing Applications Using Forms in Perl......Page 68
[Chapter 4] 4.4 Decoding Forms in Other Languages......Page 74
[Chapter 5] Server Side Includes......Page 89
[Chapter 5] 5.2 Configuration......Page 92
[Chapter 5] 5.3 Environment Variables......Page 94
[Chapter 5] 5.4 Including Boilerplates......Page 96
[Chapter 5] 5.5 File Statistics......Page 98
[Chapter 5] 5.6 Executing External Programs......Page 99
[Chapter 5] 5.7 Executing CGI Programs......Page 101
[Chapter 5] 5.8 Tailoring SSI Output......Page 105
[Chapter 5] 5.9 Common Errors......Page 107
[Chapter 6] Hypermedia Documents......Page 108
[Chapter 6] 6.2 CGI Examples with PostScript......Page 112
[Chapter 6] 6.3 The gd Graphics Library......Page 121
[Chapter 6] 6.4 CGI Examples with gnuplot......Page 130
[Chapter 6] 6.5 CGI Examples with pgperl......Page 134
[Chapter 6] 6.6 Animation......Page 138
[Chapter 7] Advanced Form Applications......Page 142
[Chapter 7] 7.2 Survey/Poll and Pie Graphs......Page 150
[Chapter 7] 7.3 Quiz/Test Form Application......Page 160
[Chapter 7] 7.4 Security......Page 173
[Chapter 8] Multiple Form Interaction......Page 175
[Chapter 8] 8.2 CGI Side Includes......Page 182
[Chapter 8] 8.3 Netscape Persistent Cookies......Page 192
[Chapter 9] Gateways, Databases, and Search/Index Utilities......Page 194
[Chapter 9] 9.2 Mail Gateway......Page 204
[Chapter 9] 9.3 Relational Databases......Page 211
[Chapter 9] 9.4 Search/Index Gateway......Page 235
[Chapter 10] Gateways to Internet Information Servers......Page 239
[Chapter 10] 10.2 What Are Sockets?......Page 241
[Chapter 10] 10.3 Socket I/O in Perl......Page 242
[Chapter 10] 10.4 Socket Library......Page 245
[Chapter 10] 10.5 Checking Hypertext (HTTP) Links......Page 247
[Chapter 10] 10.6 Archie......Page 249
[Chapter 10] 10.7 Network News on the Web......Page 255
[Chapter 10] 10.8 Magic Cookies......Page 264
[Chapter 10] 10.9 Maintaining State with a Server......Page 266
[Chapter 10] 10.10 Forking/Spawning Child Processes......Page 278
[Chapter 11] Advanced and Creative CGI Applications......Page 281
[Chapter 11] 11.2 Game of Concentration......Page 284
[Chapter 11] 11.3 Introduction to Imagemaps......Page 293
[Chapter 11] 11.4 Calendar Manager......Page 295
[Chapter 12] Debugging and Testing CGI Applications......Page 321
[Chapter 12] 12.2 Programming/System Errors......Page 325
[Chapter 12] 12.3 Environment Variables......Page 327
[Chapter 12] 12.4 Logging and Simulation......Page 328
[Chapter 12] 12.5 CGI Lint--A Debugging/Testing Tool......Page 331
[Chapter 12] 12.6 Set UID/GID Wrapper......Page 335
[Appendix A] Perl CGI Programming FAQ......Page 336
[Appendix A] A.2 Modules......Page 339
[Appendix A] A.3 CGI and the WWW Server......Page 341
[Appendix A] A.4 Specific Programming Questions......Page 343
[Appendix A] A.5 Security......Page 352
[Appendix A] ......Page 354
[Appendix B] Summary of Regular Expressions......Page 355
[Appendix C] CGI Modules for Perl 5......Page 358
[Appendix C] C.2 Form Creation and Parsing......Page 360
[Appendix D] CGI Lite......Page 363
[Appendix E] Applications, Modules, Utilities, and Documentation......Page 366
[Appendix E] E.2 CGI Software......Page 368
[Appendix E] E.3 Utilities and Applications......Page 369
[Appendix E] E.4 WWW Server Information......Page 370
[Appendix E] E.5 Online Documentation......Page 371
[Appendix E] E.6 Official Specifications......Page 372

Teach Yourself Cgi Programming With Perl 5 in a Week (Teach Yourself Series) [2nd ed.]
 9781575211961, 1575211963

  • Commentary
  • +OCR
  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up