or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
17 used & new from $14.94

Have one to sell? Sell yours here
 
   
CGI Programming 101: Programming Perl for the World Wide Web, Second Edition
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  

CGI Programming 101: Programming Perl for the World Wide Web, Second Edition (Paperback)

~ Jacqueline Hamilton (Author)
Key Phrases: Hello World, Classic Box Kite, French Military Kite (more...)
4.8 out of 5 stars  See all reviews (8 customer reviews)

Price: $29.95 & this item ships for FREE with Super Saver Shipping. Details
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Wednesday, February 10? Choose One-Day Shipping at checkout. Details
5 new from $14.95 12 used from $14.94

Frequently Bought Together

CGI Programming 101: Programming Perl for the World Wide Web, Second Edition + CGI Programming 201 + Writing CGI Applications with Perl
Price For All Three: $75.79

Show availability and shipping details

  • This item: CGI Programming 101: Programming Perl for the World Wide Web, Second Edition by Jacqueline D. Hamilton

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • CGI Programming 201 by Jacqueline Hamilton

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Writing CGI Applications with Perl by Kevin Meltzer

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

CGI Programming 201

CGI Programming 201

by Jacqueline Hamilton
$14.95
Writing CGI Applications with Perl

Writing CGI Applications with Perl

by Kevin Meltzer
4.4 out of 5 stars (16)  $30.89
Perl and CGI for the World Wide Web, Second Edition

Perl and CGI for the World Wide Web, Second Edition

by Elizabeth Castro
4.1 out of 5 stars (28)  $19.49
Learning Perl, 5th Edition

Learning Perl, 5th Edition

by Tom Christiansen
4.2 out of 5 stars (299)  $26.39
Perl Cookbook, Second Edition

Perl Cookbook, Second Edition

by Tom Christiansen
4.7 out of 5 stars (114)  $32.97
Explore similar items

Editorial Reviews

Amazon.com Review

CGI Programming 101: Programming Perl for the World Wide Web is a concise presentation of the key elements of Perl CGI, which makes it perfect for programmers who are under the gun. If you need to get up to speed on text strings, for example, you can read that chapter and be a pro within about 10 minutes.

Form processing is addressed early on, followed by searching and sorting techniques, illustrations of how to use server-side includes (SSI), and other critical issues. There's also a chapter on using MySQL--an open-source SQL database. In general, if you want to get the most out of this book, you'll be better off having some programming experience, be it in BASIC or C++.

The only element missing from this introductory course is an appendix containing Perl's reserved characters, operators, and functions; instead, this material is presented throughout the book. But CGI Programming 101 is still one of the most efficient ways to get up to speed with Perl CGI. --Stephen W. Plain

Topics covered: Perl variables, CGI environment variables, form processing, data file I/O, searching/sorting, server-side includes (SSI), random number generation, strings, date and time manipulation, HTTP cookies, e-mail processing, securing scripts, Perl modules, database programming, and custom Perl modules.

Product Description

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 learn:

* The Basics: 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.


Product Details

  • Paperback: 300 pages
  • Publisher: CGI101.com; 2 edition (March 1, 2004)
  • Language: English
  • ISBN-10: 0966942612
  • ISBN-13: 978-0966942613
  • Product Dimensions: 8.9 x 6.9 x 0.9 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (8 customer reviews)
  • Amazon.com Sales Rank: #227,322 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #3 in  Books > Computers & Internet > Programming > Languages & Tools > CGI Programming

More About the Author

Jacqueline D. Hamilton
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Jacqueline D. Hamilton Page

Inside This Book (learn more)


What Do Customers Ultimately Buy After Viewing This Item?

CGI Programming 101: Programming Perl for the World Wide Web, Second Edition
77% buy the item featured on this page:
CGI Programming 101: Programming Perl for the World Wide Web, Second Edition 4.8 out of 5 stars (8)
$29.95
Writing CGI Applications with Perl
10% buy
Writing CGI Applications with Perl 4.4 out of 5 stars (16)
$30.89
Perl and CGI for the World Wide Web, Second Edition
5% buy
Perl and CGI for the World Wide Web, Second Edition 4.1 out of 5 stars (28)
$19.49
CGI Programming 101
5% buy
CGI Programming 101 4.5 out of 5 stars (46)

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(1)
(1)
(1)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

8 Reviews
5 star:
 (7)
4 star:    (0)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.8 out of 5 stars (8 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
20 of 21 people found the following review helpful:
5.0 out of 5 stars CGI Programming 101 - Reader Review, March 21, 2005
By Alex Clark (London, UK) - See all my reviews
CGI Programming 101 - Perl for the World Wide Web (Second Edition)
by Jacqueline Hamilton
Publisher: CGI101.com
Publication date: 2004
Website: www.cgi101.com

An excellent introduction to Perl programming, good for beginners but also very useful to more experienced programmers who want a quick understanding of Perl and it's capabilities on the web.

Chapters include: Perl variables (including summary list of native variable functions), online forms, file access for read/write operations, server-side includes (SSI), string and arithmetic operators, searching and sorting data, pattern matching (using an email validation expression as an example), database programming (examples given using MySQL), CGI security issues (keeping your scripts secure), and how to password-protect a specific location on your site to create a secure area. For people accessing their scripts on a Unix server, a short appendix shows some common Unix shell commands, which will help you find your way around and set the relevant file permissions etc.

Overall a very well written and nicely designed book, which includes lots of practical examples you can copy and adapt to your own needs.

There is also an excellent accompanying website at www.cgi101.com/book, which has the first six chapters of the book and loads of code examples online for free, and the first six chapters are also downloadable in pdf format for free. I actually wrote my first Perl script from the first six chapters while I was waiting for the book to arrive, which kept me entertained and is a great way to test-drive the book.

One thing to remember as you play, however, is that the file access parameters and permissions required to use shared resources on your server may be different from the examples given in the book. This means the path to your sendmail program, for example, may be different. Some examples may work on one server, but not on another. You will have to check the specific requirements with your server administrator or ISP. If you are familiar with writing web scripts you will already know this, but if you are new to web scripting this is one thing to bear in mind.

I highly recommend this book and accompanying website to anybody interested in learning Perl. I know I will certainly get the max out of my copy, as it has already proven itself. Thank you Jacqui!
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
13 of 13 people found the following review helpful:
5.0 out of 5 stars A Fantastic Project Oriented Approach, November 5, 2006
By David Veuve (Palo Alto, California United States) - See all my reviews
(REAL NAME)   
One of the nicest (and at times, accursed) aspects of perl is that with a small amount of knowledge, you can do anything. If you have an informal background in programming (so that you have the analytical mindset), you can spend a weekend reading about Perl, then go build anything your heart desires. It'll take more time and be messier than the accomplished programmer's works, but you can do it.

That is exactly what I did with this book. I read the first edition, some six, maybe seven years ago, and then went on to build whatever I wanted. A year or so after reading it, I made a content management system replete with a gui interface that my employers could use. This book was the inspiration for years of Perl code creation, and employment.

Now, you won't learn as much as you would with any of the standard Perl books (such as Programming Perl, by the O'Reilly publishing world), as it's a project based approach to Perl learning. You aren't inundated with theoretics and syntax that you could then apply; instead, you receive the fundamentals, with some useful code snippets that you can put into your own code, and go forth to create.

In short, it is a delightful read, and I highly recommend it to any user who prefers a practical approach to learning, versus a theoretical one. If your aim is to go directly into a Perl programming job, then you may want to look elsewhere, but if you want to be able to build web applications, this is a quick easy read that will provide you with the tools to create all that you might want.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
6 of 6 people found the following review helpful:
5.0 out of 5 stars Great book!, December 20, 2006
By J. Lezniak (Wichita, Kansas) - See all my reviews
(REAL NAME)   
This book is extremely helpful for anyone completely new or clueless on the subject of cgi programming. This was my first book on the subject of cgi's (w/ perl) and honestly, it was the best primer in regular expressions in perl. Let me stress its name is suggestive of the content... that is CGI 101 is for beginners. That was a good thing in my case since I was completely clueless when it came to dynamic web programming. It was my first purchase on the subject and I still consider it the most helpful.

I highly suggest this book for anyone looking for an entry point on the subject of CGI programming.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

3.0 out of 5 stars The "101" in the title should be taken seriously
The reason I gave this book 3 stars, when I found it of little use, is because the "101" suggests that it's for someone who knows nothing at all about the subject. Read more
Published 3 months ago by Dave

5.0 out of 5 stars Great book for new and experienced web designers
I bought this book when I first started designing web pages. That was 5 years ago and I still find this book helpful and easy to use. Read more
Published 19 months ago by Colleen Baker

5.0 out of 5 stars The best book for beginners
This book is a great beginners guide as well as a reference booklet for veteran programmers.

Ms. Read more
Published on April 19, 2007 by Mahir B. ASUT

5.0 out of 5 stars Understanding and Skill Needed for PERL Power
I am a neophyte script writer. I needed to learn basic PERL to set-up several web sites.

The book provided me with a very straight forward process to write scripts... Read more
Published on January 9, 2007 by P. Norausky

5.0 out of 5 stars The
I bought the previous edition of this book in 2001 because another reviewer recommended it and mentioned the added bonus of signing up with the CGI 101 hosting service. Read more
Published on December 21, 2006 by H. Hotelling

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...


Create a guide

Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.