Programming Books C Java PHP Python Learn more Browse Programming Books

Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 


or
Sign in to turn on 1-Click ordering
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

CGI Programming in C and Perl [Paperback]

Thomas Boutell
3.8 out of 5 stars  See all reviews (17 customer reviews)

List Price: $39.99
Price: $29.82 & FREE Shipping on orders over $35. Details
You Save: $10.17 (25%)
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
Only 2 left in stock (more on the way).
Ships from and sold by Amazon.com. Gift-wrap available.
Want it Friday, July 11? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

April 29, 1996 0201422190 978-0201422191
The simple, static hypertext documents that currently dominate the Web canconvey a great deal of information, but eventually their limitations becomeclear. What if you wish to provide dynamic data--information that changes overtime? What if you want to sell products on your Web site and secure paymentinformation from users? Or what if you seek to provide a search facility thatpermits a Web database to be explored? Dynamic resources of this sort areaccomplished through CGI (Common Gateway Interface) programming. CGI programs can take advantage of any resource available to the servercomputer to generate their output and can also accept input from the userthrough forms. These two basic capabilities have led to a wide variety ofapplications, such as forms processing, generation of inline images and movies,the formatting of data sets based on queries to a database, real-time updatesto Web pages, and more. CGI Programming in C and Perl shows you how to create theseinteractive, multimedia documents via CGI programming in two practicallanguages: C, which has distinct performance advantages, and Perl, one of themost popular for CGI today.Applications and source code are presented in both languages. You'll learn how to: *generate HTML pages and images on the fly *get CGI access on your ISP's site *ensure security for your CGI-activated site *parse form submissions directly *send e-mail via forms and CGI. 0201422190B04062001

Frequently Bought Together

CGI Programming in C and Perl + CGI Programming with Perl
Price for both: $56.09

Buy the selected items together
  • CGI Programming with Perl $26.27


Editorial Reviews

Amazon.com Review

Nicely balanced treatment of CGI programming in both C, which has distinct performance advantages, and Perl, currently the most popular language for CGI. Written by the long-time maintainer of the Usenet comp.infosystems.www FAQ (and fellow Seattleite), Thomas Boutell.

From the Back Cover

The simple, static hypertext documents that currently dominate the Web canconvey a great deal of information, but eventually their limitations becomeclear. What if you wish to provide dynamic data--information that changes overtime? What if you want to sell products on your Web site and secure paymentinformation from users? Or what if you seek to provide a search facility thatpermits a Web database to be explored? Dynamic resources of this sort areaccomplished through CGI (Common Gateway Interface) programming.

CGI programs can take advantage of any resource available to the servercomputer to generate their output and can also accept input from the userthrough forms. These two basic capabilities have led to a wide variety ofapplications, such as forms processing, generation of inline images and movies,the formatting of data sets based on queries to a database, real-time updatesto Web pages, and more.

CGI Programming in C and Perl shows you how to create theseinteractive, multimedia documents via CGI programming in two practicallanguages: C, which has distinct performance advantages, and Perl, one of themost popular for CGI today. Applications and source code are presented in both languages.

You'll learn how to:

  • generate HTML pages and images on the fly

  • get CGI access on your ISP's site

  • ensure security for your CGI-activated site

  • parse form submissions directly

  • send e-mail via forms and CGI.



0201422190B04062001


Product Details

  • Paperback: 416 pages
  • Publisher: Addison-Wesley Professional (April 29, 1996)
  • Language: English
  • ISBN-10: 0201422190
  • ISBN-13: 978-0201422191
  • Product Dimensions: 9 x 7.2 x 0.9 inches
  • Shipping Weight: 1.7 pounds (View shipping rates and policies)
  • Average Customer Review: 3.8 out of 5 stars  See all reviews (17 customer reviews)
  • Amazon Best Sellers Rank: #1,344,749 in Books (See Top 100 in Books)

More About the Author

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

Customer Reviews

3.8 out of 5 stars
(17)
3.8 out of 5 stars
Share your thoughts with other customers
Most Helpful Customer Reviews
16 of 16 people found the following review helpful
3.0 out of 5 stars Good, but old. Needs to be updated. September 16, 1999
Format:Paperback
Those of us who participate in the CGI programming newsgroups know Thomas' reputation and it's steller. When this book was first released, it was the best book available, and it some ways it still is. But the current edition is showing its age. It doesn't cover many new CGI topics or concepts. I still use this book as a reference now and again, but I wouldn't buy it today.
Comment | 
Was this review helpful to you?
8 of 8 people found the following review helpful
4.0 out of 5 stars a little out of date, but pretty good April 6, 1999
By A Customer
Format:Paperback
I'd written many complex CGI scripts using Perl before even buying this book, and the concepts in it are sound and well explained. My purpose for this book was to make the difficult transition from PERL-based CGI programming to C-based CGI, and this book definitely served the purpose well. My only two complaints are: 1) There aren't enough code examples per chapter (remember what I bought the book for), and 2) The material is woefully out of date. Still, I haven't seen anything better at CGI using C out there, and I've been looking for a long time.
Comment | 
Was this review helpful to you?
6 of 6 people found the following review helpful
5.0 out of 5 stars CGI Programming in C & Perl March 9, 2002
By A Customer
Format:Paperback
An EXCELLENT buy -- you don't have to be a "Pro" to use the programs here -- but you can't be a rookie either... Get it "New" or "Used"--the price difference is insignificant--compared to what's inside the book....I bought this book a few months ago--here on AMAZON--and was delighted to find this book contained entire (web)-C-programs that ACTUALLY WORKED! If your web-server(CGI-scripts) are runnning at a crawl...it's probably because you are running a "convenient-scripting-language" -- instead of a C-program!! This book is NOT long-winded, but very practical. I have seen (repackaged???-or-similar)-versions of this code running on a few of the "higher-profile" web-sites. Over the years, I have acquired a STACK of other C-Programming Books--and I am afraid to buy any more of them--because I am tired of EXPERIMENTING to see which ones are PRACTICAL to READ, and I'm tired of reading GOBS of POINTLESS-and/or-BLOATED text--I am very happy with this book. I am a self-taught (Linux) C Programmer, and the C-and-PERL-programs from this book run well on Linux(kernels 2.2 thru 2.4)... This book is a great start in getting you up and running--but the rest is up to you--since you'll REALLY NEED to UNDERSTAND MODERN WEB SERVERS !!! ...and... ONE LAST NOTE-- this code may be considered "old" (written in 1996?) --it's NOT obsolete--but it still runs perfectly-and-flawlessly "as is" --on a modern-day Apache Web Server(Linux). This code has stood it's test of time. After you use these programs--it may become more obvious as to the "updates-additions-or-deletions" you'll want to make. Be sure to get Boutell's UPDATED CODE (from his web-site).
Comment | 
Was this review helpful to you?
7 of 8 people found the following review helpful
2.0 out of 5 stars It is ok, that is if you already know the stuff. March 22, 1999
By A Customer
Format:Paperback
I know if you've read the reviews previous to this one, you should already know that you need to know C and Perl to read this book. But I am going to say it again. And you don't only need to be familiar with it. You need to KNOW it. If you don't, you'll get lost in three chapters like I did. Since it is a book based entirely on examples, unless you understand the code perfectly, you'll be lost. You also need to know the basis of CGI scripting to know where the script is getting at. You may ask if you already should know all this to understand the book, why buy it? For the examples I guess, but don't buy it to learn is my suggestion. Get a Dummie's book for that. Then get this one as reference.
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
3.0 out of 5 stars This book needs to stop being reprinted March 29, 1999
By A Customer
Format:Paperback
The basic information and concepts are good but...
This book is seemingly out of date. It keeps referring to Netscape 1 for goodness sakes! The example pictures make it clear how outdated this book is. In such a fast changing environment, looking at these examples was a big turn off!
But I suppose the information is not completely outdated. There's not much to CGI, so I guess it doesn't really change. Still there are better books out there
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars Awesome book May 1, 2006
Format:Paperback
I tried for a long time to get a handle on C. My background is PERL, and then later PHP, so i figured it might make sense for me to come at this from a web-based perspective. By chapter 4 I knew enough to start writing simple programs on my own (not using samples in the book). By the end of chapter 7 I was well versed enough to start more complex programs using PATH_INFO variables. Extremely good book. If you write web-based apps, and are thinking about learning C this is *the* book.

One reviewer mentioned something about screenshots looking old, which is true, they are obviously Netscape 1, running on Unix's now ancient Motif window manager, but the concepts are all still exactly the same. The cgi's you write will look the same on Netscape 1, as they do on Seamonkey, or IE, or Safari so that's no big deal.

I gave it a 5 because the concepts contained inside are very well written easy to understand and this is the only book that has given me a decent base on which to learn C.

If I could change my rating now, I'd give it a 3 or 4. I wrote some more complex CGI's based on some of the ones in this book that didn't work. So for kicks I copied the source from the cd and tried to just compile those...gcc refused saying I hadn't declared strcmp(). :-/

Indeed, I did a 'gcc *' in the SOURCE/C dir and didn't end up with a single a.out file. They all gave errors either on strcmp, feof, fgets, fprintf, in, isspace, fclose, and numerous others.

Still an excellent book but things have changed a lot since it was written.

Hey Thomas! How 'bout a Second Edition? :-)
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
2.0 out of 5 stars After a long wait - - Dissapointing
The write-ups on this looked promising and the order time was unusually extended. I was hoping to leverage my C experience with some Perl for web-site development. Read more
Published 2 months ago by A. Rutter
5.0 out of 5 stars The seller was awesome.
The product got here in an efficient amount of time.

Unfortunately, this is one of those common cases of the teacher having the students get a book that turns out to be... Read more
Published on February 21, 2010 by Eric M. Jennings
5.0 out of 5 stars A very good book
I bought this book around 1998. It was the only book that cover

CGI and C, the rest talked about PERL which I hadnt learned yet. Read more
Published on July 23, 2004 by Ogal Finklestein
4.0 out of 5 stars The Truth
With many years of experience under my belt, i found this book to be easy. I'd written many complex cgi scripts using perl and c previous to this book, for many fortune 500... Read more
Published on January 5, 2001 by Thomas
5.0 out of 5 stars No Nonsense
The title makes it clear C and perl a required. This is a great no nonsense book and people should not expect it to teach C, Perl AND CGI. Read more
Published on February 8, 1999
4.0 out of 5 stars Good, useful book if you already know C or Perl
Not a bad book at all, I bought this book when I didn't know either C or Perl, and man, I was confused. Read more
Published on January 22, 1999 by Michael K. Scott
5.0 out of 5 stars Great Book
This book is great. The code examples are in the book and on the CD-ROM. The author shows the examples in both C and in PERL printed in the book, which is more that I can say for... Read more
Published on December 29, 1998
Search Customer Reviews
Search these reviews only

What Other Items Do Customers Buy After Viewing This Item?


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

Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



Look for Similar Items by Category