Jump to ratings and reviews
Rate this book

Cgi Programming 101: Perl for the World Wide Web

Rate this book
If you build web pages you may eventually want to add a guestbook, order form, page counter, or other interactive elements to your website. CGI Programming 101 explains how to do this in simple, easy-to-understand terms. The book shows you how to write useful, real-world web programs, starting with simple guestbook forms and building up to more advanced applications. You'll * The where to write your CGI programs; how to upload them and set file permissions; how to run them, and how to debug them when things go wrong * How to decode form data and save it to a file or e-mail it to yourself * How to create, read, write, and search data files * How to use Server-Side Includes to add dynamic content to your web site, plus a complete list of Apache SSI directives * How to use random numbers for displaying banner ads and random images * How to redirect visitors to another site * How to extend your programs by using modules * How to create a MySQL database, and write programs that interact with databases using the DBI module * How to build an online shopping cart program * How to e-mail attachments using a CGI program * How to write secure programs, and protect your programs against hackers and spammers * How to password-protect an area of your website ...and more. The second edition has been substantially revised, with 100 pages of new material. It teaches good programming practices from the beginning, including use of the industry-standard CGI.pm Perl module. You'll learn how to protect your form-to-mail programs from being hijacked by spammers, how to build a cookie-based shopping cart, and how to develop a password-protected website. Quick-reference pages and an improved index help you find information easily. There are also several online tutorials to help you set up your own web server and write CGI programs on any computer system - including Windows, Mac OS X, and Unix.

300 pages, Paperback

First published January 1, 2000

8 people want to read

About the author

Jacqueline K. Hamilton

2 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
3 (17%)
4 stars
7 (41%)
3 stars
5 (29%)
2 stars
0 (0%)
1 star
2 (11%)
Displaying 1 - 2 of 2 reviews
208 reviews46 followers
February 6, 2011
Probably my first programming book. It's been years since I owned the book, I really can't say whether the chapter progression makes sense. I will say that, if you're writing on a UNIX-like operating system and using the shebang line, "#!/usr/local/bin/perl" (or whatever) is not really a comment or optional. I do remember that one of the sentences in the first chapter confused me for maybe half an hour on this issue.
Profile Image for Andy.
15 reviews1 follower
October 25, 2007
Not great - I had a class with PERL, and it's better to use other books....
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.