Enter your mobile number below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
Getting the download link through email is temporarily not available. Please check back later.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

PHP Developer's Cookbook (2nd Edition) 2nd Edition

4.1 out of 5 stars 44 customer reviews
ISBN-13: 075-2063323250
ISBN-10: 0672323257
Why is ISBN important?
ISBN
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon
Buy used On clicking this link, a new layer will be open
$9.86 On clicking this link, a new layer will be open
Buy new On clicking this link, a new layer will be open
$39.99 On clicking this link, a new layer will be open
More Buying Choices
16 New from $27.20 28 Used from $0.01
Free Two-Day Shipping for College Students with Prime Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student


Security
ITPro.TV Video Training
Take advantage of IT courses online anywhere, anytime with ITPro.TV. Learn more.
$39.99 FREE Shipping. In Stock. Ships from and sold by Amazon.com. Gift-wrap available.
click to open popover

Editorial Reviews

From the Back Cover

"PHP Developer's Cookbook" is a task-oriented book intended to offer solutions to the daily problems and goals the PHP developer faces.

In addition to a brief introduction to PHP, the main content of the book is presented in a problem and solution format, logically organized on a topic-by-topic basis. Each question specifies a goal, and the following text provides a detailed solution that achieves the stated goal along with any additional related information.

After a crash course in the basics, the PHP Developer's Cookbook covers more advanced development topics.

About the Author

Sterling Hughes is a freelance Web developer, creating dynamic Web applications in PHP, C, and Perl for Fortune 500 companies. He is a coauthor of the PHP documentation and has written articles about PHP for Webreference, Zend.com, and Webtechniques. He currently writes a regular feature for Zend.com. He authored PHP's SWF, CURL, Sablotron (XSL), and BZip2 extensions, and coauthored the Sockets extension. He can be reached at sterling@php.net.

Andrei Zmievski is the lead development engineer and open source researcher at ispi, where he works on various e-commerce and Web publishing projects. He is a member of the PHP core development group and has contributed to several other open source projects. His other interests include piano and computer graphics. He can be reached at andrei@php.net.

NO_CONTENT_IN_FEATURE

New York Times best sellers
Browse the New York Times best sellers in popular categories like Fiction, Nonfiction, Picture Books and more. See more

Product Details

  • Paperback: 504 pages
  • Publisher: Sams Publishing; 2 edition (December 23, 2001)
  • Language: English
  • ISBN-10: 0672323257
  • ISBN-13: 978-0672323256
  • Product Dimensions: 7.2 x 1.1 x 9.2 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (44 customer reviews)
  • Amazon Best Sellers Rank: #2,907,782 in Books (See Top 100 in Books)

Customer Reviews

Top Customer Reviews

By Derek Sivers on January 13, 2001
Format: Paperback
UNLIKE ANY OTHER PHP BOOK. I write that in all caps because I can't emphasize this enough: this is NOT a typical "let's show you PHP" book. There is no walk-from-beginning-to-end introduction.
PHP Developer's Cookbook is for INTERMEDIATE/ADVANCED users that have already had their introduction, already used PHP for a while, and find themselves, while working on a project, saying, "How do you validate an email address?" or "How do we save sessions in a database?"
This is a book of PROBLEMS AND SOLUTIONS, broken into little categories for easy reference. (Look at the table of contents.) Of course you could go through it from start to finish and learn quite a bit, even if you're not working on a big project yet.
All that being said, THIS IS ONE OF THE MOST VALUABLE PHP BOOKS I'VE EVER SEEN, and I've seen them all. It's the only one I'm going to keep on my desk now as I work. It's exactly what I was looking for. (I work on PHP projects all day, and am constantly searching the mailing lists to remember how to create drop-down-menus, how to process individual words in a text file, etc. This book has it all!)
Combine this with the new feature on [...] that lets you type "[...] to immediately look up the manual page for every PHP function, and you're all set!
HIGHLY RECOMMENDED
Comment 35 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
I stumpled upon this book by accident, and only after 10 minutes of reading, I just had to get it. The book is targeting at experienced php programmers, and assumes good grasp of php and its functionalities. Unless you are have gone through at least one other book (like Wrox's PHP programming) and have had some serious project, you may not fully understand the need for some of these techniques.
For example, php has specific functions written for each database. This cause portability problem of the code when switching databases. We all know a databases API is badly needed, and quite a few books have touched on this topic, but none which actually go through the code and explain in detail how they work, how database wrappers are created and used. Another example is the session handlers. Almost every php book includes a chapter on session, and briefly mentions how we can write our own session handlers, but they read more like a reference book. PHP developer's cookbook, again, actually take you through the steps of create them and how to incoporate them into your scripts. Other examples in this book include: how to interface with other programs and languages(sockets, COM, Java methods and classes). How to work with php images functions, php XML functions, ZEND API.
Again, I wish I have found this book ealier, it would have saved me a bunch of headache and time. I truely suggest this book to any experienced PHP programmers out there.
Comment 28 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
By A Customer on January 16, 2001
Format: Paperback
Have any of you done Perl and worn the Perl Cookbook cover off? Then this is your book.
The layout and general concept of this book is very similar to that other beloved cookbook. Some entries are nearly identical. One feature I adore in particular is multiple recipes for one task, stating which is faster/more efficient, and then telling you why.
I have been scripting PHP for 2 years, mostly professionally, but many fun, personal projects as well. Not only do I wish I had this book, but I am gald that I have it now. I have been reading this thing randomly but voraciously, and I have found little gems even under the elementary topics.
I will be working on 2 major projects soon, the development stage of one has just begun. One is a massive intranet site, (authentication, sessions, customization, etc.) and the other is an ecommerce site/application. I will be using this book continuously as a: 1) code reminder 2) how-to resource 3) code-refiner 4) style-refiner.
I've already used it several times for custom classes - don't pass this one up!
Comment 23 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
The table of contents is misleading. When I saw, "Working with Strings", "Dates and Times", "Arrays", etc., I was sure I'd wasted my money. Nothing could have been further from the truth. I thought I was pretty good at PHP until I read this book. It was a bit humbling.
In PHP, it's easy to connect to a database, pull out some data, and throw it up on the screen. This can lead to complacency and perhaps cause one to put issues of efficiency and security on the back burner (not that I'm speaking from experience or anything...).
The material here makes the difference between "knowing" PHP and being truly good and professional at it. Wrox's "Professional PHP Programming" is the cake, this book is the icing.
Comment 17 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
This is the most useful "second" PHP book available. I say "second" because it's geared towards those that understand a bit already but still, it'll even help the complete newbie as it's easy to read and will make sense to most anyone. Excellent tips, short-cuts, examples, etc. Curious about shortening, optimizing and streamlining your PHP code? This book will help. Includes uses of various PEAR classes too (PEAR being similar to Perls CPAN). This cookbook WILL suit your PHP hunger, we need more books like this.
Comment 11 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Recent Customer Reviews

Set up an Amazon Giveaway

PHP Developer's Cookbook (2nd Edition)
Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more about Amazon Giveaway
This item: PHP Developer's Cookbook (2nd Edition)