No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
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.

Digital List Price: CDN$ 26.99
Kindle Price: CDN$ 14.84

Save CDN$ 24.00 (62%)

includes free international wireless delivery via Amazon Whispernet

These promotions will be applied to this item:

Deliver to your Kindle or other device

Deliver to your Kindle or other device

PHP in a Nutshell (In a Nutshell (O'Reilly)) by [Hudson, Paul]
Kindle App Ad

PHP in a Nutshell (In a Nutshell (O'Reilly)) Kindle Edition

4.0 out of 5 stars 1 customer review

See all 3 formats and editions Hide other formats and editions
Amazon Price
New from Used from
Kindle Edition
"Please retry"
CDN$ 14.84

Length: 372 pages

Signup for Kindle Daily Deals
Kindle Delivers: Daily Deals
Subscribe to find out about each day's Kindle Daily Deals for adults and young readers. Learn more

Product Description


"...there is no unnecessary waffle, but plenty of code to get your teeth into. It's a desktop guide for quick reference, so not all your queries will be answered, but it will certainly point you in the right direction. An indispensable guide to PHP programming." .net, May 2006

Product Description

Now installed on more than 20 million Internet domains around the world, PHP is an undisputed leader in web programming languages. Database connectivity, powerful extensions, and rich object-orientation are all reasons for its popularity, but nearly everyone would agree that, above all, PHP is one of the easiest languages to learn and use for developing dynamic web applications. The ease of development and simplicity of PHP, combined with a large community and expansive repository of open source PHP libraries, make it a favorite of web designers and developers worldwide.

PHP in a Nutshell is a complete reference to the core of the language as well as the most popular PHP extensions. This book doesn't try to compete with or replace the widely available online documentation. Instead, it is designed to provide depth and breadth that can't be found elsewhere. PHP in a Nutshell provides the maximum information density on PHP, without all the fluff and extras that get in the way. The topic grouping, tips, and examples in this book complement the online guide and make this an essential reference for every PHP programmer. This book focuses on the functions commonly used by a majority of developers, so you can look up the information you need quickly. Topics include:

  • Object-oriented PHP
  • Networking
  • String manipulation
  • Working with files
  • Database interaction
  • XML
  • Multimedia creation
  • Mathematics

Whether you're just getting started or have years of experience in PHP development, PHP in a Nutshell is a valuable addition to your desk library.

Product Details

  • Format: Kindle Edition
  • File Size: 1657 KB
  • Print Length: 372 pages
  • Simultaneous Device Usage: Unlimited
  • Publisher: O'Reilly Media; 1 edition (Oct. 13 2005)
  • Sold by: Amazon Digital Services LLC
  • Language: English
  • ASIN: B0093T2IJ0
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Enhanced Typesetting: Not Enabled
  • Average Customer Review: 4.0 out of 5 stars 1 customer review
  • Amazon Bestsellers Rank: #402,704 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images or tell us about a lower price?

click to open popover

Customer Reviews

4.0 out of 5 stars
5 star
4 star
3 star
2 star
1 star
See the customer review
Share your thoughts with other customers

Top Customer Reviews

Format: Paperback
This book was in good condition when it arrived at my home, just as they promised. Unfortunatly it arrived a little over 10days AFTER than the usual 7 to 10 business days. I don't think I'll be ordering more books for my school studies from this company!
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 Helpful Customer Reviews on (beta) HASH(0xa32a536c) out of 5 stars 26 reviews
20 of 21 people found the following review helpful
HASH(0xa2e26d08) out of 5 stars One good book and one good rant... Nov. 27 2005
By Brett Merkey - Published on
Format: Paperback
This PHP reference has some extras I liked. It is always good to have a portable and compact programming statement reference at hand. It is even better to have one that goes into more detail where that extra background may be of value. The chapter on the object-oriented programming support in PHP 5 is one of those extras.

I also appreciate the chapters on creating Flash and PDF and the tips on server performance optimization.

PHP in a Nutshell falls far short of adequate in one respect -- the index. A reference should provide a way to find information without having an exact knowledge of the information you are looking for.

As a relative newcomer to PHP, I gave the book's index a good workout. A typical session would go like this: After getting my simple form application running, I noticed that the return from the database was not case-insensitive. I knew I could massage the value to the server with JavaScript, but was there an equivalent PHP statement? I went to the book index. "Case switching" -- no, that is about a conditional. "Case-sensitivity, variables" -- no, that is not about user input values. Finally, after other failed guesses, I recalled from JavaScript that such a function, if it existed, worked on strings. I look up "strings" and move down the sub-indexing to my goal: strtolower() function.

Success, yes, but unnecessarily delayed. I would fault this book for that and knock down my rating except for the fact that the index is no worse than the typical computer book index. Decent indexing, and even full-text searches on books, are distant hopes as ever.

Despite my occasional rant on book indexing, this book will be kept in a handy place as I continue forward in my progress in coding PHP.
19 of 22 people found the following review helpful
HASH(0xa2e26d68) out of 5 stars Not Up to Snuff June 23 2006
By Travis Parks - Published on
Format: Paperback Verified Purchase
When I purchase a Nutshell book from O'reilly, I anticipate a very formal, detailed overview of a language and an in-depth coverage of that language's standardized libraries and features. PHP in a Nutshell is very lax with informal explainations and coverage. I am not saying that the book lacks information; it just lacks the typical detail of a usual Nutshell book. This book also has simple errors that should have been caught if the author had reviewed his own work; this is simply unexceptable. I, today, counted over 4 simple mistakes on the chapter about operators. This is something unheard of from O'reilly. I have been programming with PHP for a while now and was hoping to find a definitive reference ... well, this isn't it!
7 of 7 people found the following review helpful
HASH(0xa2e26678) out of 5 stars I agree with the reviewer who wants a better index! Jan. 5 2006
By Rob Wehrli - Published on
Format: Paperback
It is a bit more difficult to find what you want in the index than absolutely desired, but it is also the price we pay for a low-cost, desktop reference.

I too am relatively new to PHP. I've dabbled a bit with it over the past few years, but recently started to write my first "major" web-centric application using it and MySQL. I can definitely say that PHP In A Nutshell has not let me down! I've been avoiding learning "yet another programming language," but PHP In A Nutshell has given me the ability to jump into it without needlessly wasting my time.

The author's writing style is very easy to embrace, which makes reading this book a breeze. The author clearly knows PHP very well and provides many, many resourceful nuggets of experience in the paragraphical excursion through this insightful book. It "reads" well and "references" well-enough.

While this book may not be the best tutorial for a total newcomer to programming languages, for anyone with experience in any modern programming language, it should be very easily read and received. How much of this is the writer's style versus O'Reilly's "common sense in book layout?" I'm not sure, but the two blend together well to make a fine wine in PHP In A Nutshell.

The section on databases is well worth the asking price, but I found way more than that to be of real, immediate value to my "emerging" PHP skills. However, perhaps like the other reviewer, I'd like to have a nice little appendix that contrasts the "C" or "Java" way of doing something to the PHP way of doing it as an added benefit that would negate the need for a massive index. Indexing is nearly a lost art today, it seems...only library sciences majors seem to know the first thing about it while the rest of us rely on our word processing software and some manual hacking of its results.

Don't let this "semi-rant" deter you from finding the real value in this book, which is still exceptionally useful but may mean a bit more reading. At least it flys by quickly and enjoyably due to the entire team involved in its production.

While the section on Manipulating Images is really fantastic for content, somehow the "smooth, blue gradient" looses its luster when reduced to gray scale. Yeah, I realize that something has to bite the bullet to be competitive in today's market, but blue skies in grayscale? Oh well, the book is still very excellent and useful. It is the first thing I reach for when I need PHP help. Perhaps someone with hardcore PHP experience may point out flaws that I'd miss, but for a programmer getting going in PHP, I've found it to be a massive, a light and easy way, help!
5 of 5 people found the following review helpful
HASH(0xa37c4114) out of 5 stars Good review material but many errors July 14 2007
By Hargun Khanna - Published on
Format: Paperback
I am pretty familiar with PHP and worked with it some time ago, but I needed a book to quickly refresh my knowledge of it for a project, and this book did a pretty good job of that. It gets to the point on the right topics (including chapters on OOP, Cookies and Sessions, and Databases) and has a short, useful function reference instead of listing every function under the sun.

Nonetheless, there are many errors both in the code and in the writing. If you don't have a solid foundation in PHP and programming, these errors can really throw you off. Sometimes I would get confused as I tried to figure out why a line of code does what the author says it does only to realize it was an error that made it into print. If the editing had been better and caught these errors, the book would have received a four-star rating from me.

Bottom line, if you know PHP and need a good reference book or a book to quickly review concepts and functions, this book is for you. Don't buy this book if you are new to PHP.
5 of 5 people found the following review helpful
HASH(0xb313b210) out of 5 stars Fix the *!$@$!* Index! June 30 2006
By Peter Martin - Published on
Format: Paperback Verified Purchase
I bought this book to lead me into my first foray into PHP. It was just what I needed, except for one problem: the index. Basic PHP functions such as "print" and "echo" are covered in the text, but you won't find them in the index. The data type "mixed" is used in the code examples, but isn't explained anywhere that I could find, and also lacks an index entry. As others have remarked, there are a few errors in the text, but they're pretty obvious and didn't get in the way of writing workable scripts. An excellent introduction to PHP, but a number of needless annoyances.