Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

Programming PHP, 2nd Edition, is the authoritative guide to PHP 5 and is filled with the unique knowledge of the creator of PHP (Rasmus Lerdorf) and other PHP experts. When it comes to creating websites, the PHP scripting language is truly a red-hot property. In fact, PHP is currently used on more than 19 million websites, surpassing Microsoft's ASP .NET technology in popularity. Programmers love its flexibility and speed; designers love its accessibility and convenience.

As the industry standard book on PHP, all of the essentials are covered in a clear and concise manner. Language syntax and programming techniques are coupled with numerous examples that illustrate both correct usage and common idioms. With style tips and practical programming advice, this book will help you become not just a PHP programmer, but a good PHP programmer. Programming PHP, Second Edition covers everything you need to know to create effective web applications with PHP. Contents include:

  • Detailed information on the basics of the PHP language, including data types, variables, operators, and flow control statements

  • Chapters outlining the basics of functions, strings, arrays, and objects

  • Coverage of common PHP web application techniques, such as form processing and validation, session tracking, and cookies

  • Material on interacting with relational databases, such as MySQL and Oracle, using the database-independent PEAR DB library and the new PDO Library

  • Chapters that show you how to generate dynamic images, create PDF files, and parse XML files with PHP

  • Advanced topics, such as creating secure scripts, error handling, performance tuning, and writing your own C language extensions to PHP

  • A handy quick reference to all the core functions in PHP and all the standard extensions that ship with PHP

Praise for the first edition:

"If you are just getting into the dynamic Web development world or you are considering migrating from another dynamic web product to PHP, Programming PHP is the book of choice to get you up, running, and productive in a short time."

--Peter MacIntrye, eWeek

"I think this is a great book for programmers who want to start developing dynamic websites with PHP. It gives a detailed overview of PHP, lots of valuable tips, and a good sense of PHP's strengths."

--David Dooling, Slashdot.org

Subscriber Reviews

Average Rating: 3.3333333333333335 out of 5 rating Based on 3 Ratings

"Hated the format for this PHP" - by akiradawn on 02-MAR-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I don't understand the material. It doesn't make sense. I don't think I would have given this book even 1 star except for the fact that despite it is very hard to read that I would probably prefer to use this book as a bookend on an old dusty bookshelf full of literary classics. Obviously this is no literary work of significance and or magnitude
Report as Inappropriate

Table of Contents

 

Extras

The publisher has provided additional content related to this title.


Description
Content

Visit the catalog page for Programming PHP, 2nd Edition

  • Catalog Page

Visit the errata page for Programming PHP, 2nd Edition

  • Errata

Download the supplemental electronic content for Programming PHP, 2nd Edition

  • Supplemental Content