ENGLISH

CGI Programming with Perl [2nd ed.]

Book information

Publisher
O’Reilly
Year
2000
ISBN
1-56592-419-3
Language
english
Format
PDF
Filesize
2 MB (1770088 bytes)
Pages
388\388
Time added
2019-04-07 09:45:01

Description

Contents......Page 1 Preface......Page 2 History......Page 4 Intro to CGI......Page 6 Alternative Technologies......Page 11 Web Server Configuration......Page 14 URLs......Page 18 HTTP......Page 24 Browser Requests......Page 27 Server Responses......Page 33 Proxies......Page 38 Content Negotiation......Page 40 3 Common Gateway Interface......Page 43 CGI Environment......Page 44 Environment Variables......Page 47 CGI Output......Page 53 Examples......Page 62 Sending Data to the Server......Page 66 Form Tags......Page 69 Decoding Form Input......Page 82 5 CGI.pm......Page 85 Overview......Page 86 Handling Input with CGI.pm......Page 90 Generating Output with CGI.pm......Page 101 Alternatives for Generating Output......Page 109 Errors......Page 114 Reasons for using Templates......Page 120 Server Side Includes......Page 122 HTML::Template......Page 131 Embperl......Page 138 Mason......Page 156 Background......Page 158 Forms......Page 160 Data Exchange......Page 169 Bookmarklets......Page 178 Importance of Web Security......Page 183 User Input......Page 185 Encryption......Page 192 Data Storage......Page 199 Security......Page 201 Email Addresses......Page 204 Structure of Internet Email......Page 208 sendmail......Page 209 mailx & mail......Page 213 Perl Mailers......Page 214 procmail......Page 216 Text Files......Page 219 DBM Files......Page 227 Intro to SQL......Page 231 DBI......Page 235 11 Maintaining State......Page 249 Query Strings & Extra Path Information......Page 251 Hidden Fields......Page 258 Client-Side Cookies......Page 269 Searching One by One......Page 275 Searching One by One 2......Page 279 Inverted Index Search......Page 283 File Formats......Page 291 Outputting Image Data......Page 294 Generating PNGs with GD......Page 298 Additional GD Modules......Page 302 PerlMagick......Page 312 14 Middleware & XML......Page 318 Communicating with other Servers......Page 319 Intro to XML......Page 323 Document Type Definition......Page 326 Writing XML Parser......Page 329 CGI Gateway to XML Middleware......Page 330 15.1. Common Errors......Page 338 15.2. Perl Coding Techniques......Page 342 Architectural Guidelines......Page 356 Coding Guidelines......Page 363 Basic Perl Tips......Page 366 FastCGI......Page 376 mod_perl......Page 379 Reading......Page 383 Perl Modules......Page 386

Similar books