Programming PHP, 3rd Edition
Creating Dynamic Web Pages
Publisher: O'Reilly Media
Final Release Date: February 2013
Pages: 540

This updated edition teaches everything you need to know to create effective web applications with the latest features in PHP 5.x. You’ll start with the big picture and then dive into language syntax, programming techniques, and other details, using examples that illustrate both correct usage and common idioms.

If you have a working knowledge of HTML, the authors’ many style tips and practical programming advice will help you become a top-notch PHP programmer.

  • Get an overview of what’s possible with PHP programs
  • Learn language fundamentals, including data types, variables, operators, and flow control statements
  • Understand functions, strings, arrays, and objects
  • Apply common web application techniques, such as form processing, data validation, session tracking, and cookies
  • Interact with relational databases like MySQL or NoSQL databases such as MongoDB
  • Generate dynamic images, create PDF files, and parse XML files
  • Learn secure scripts, error handling, performance tuning, and other advanced topics
  • Get a quick reference to PHP core functions and standard extensions
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyProgramming PHP, 3rd Edition
 
3.3

(based on 8 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (4)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (2)

63%

of respondents would recommend this to a friend.

Pros

  • Helpful examples (6)
  • Accurate (4)
  • Easy to understand (4)
  • Well-written (4)

Cons

  • Not comprehensive enough (3)

Best Uses

  • Novice (4)
  • Student (4)
  • Intermediate (3)
    • Reviewer Profile:
    • Developer (4)

Reviewed by 8 customers

Sort by

Displaying reviews 1-8

Back to top

 
5.0

A Review from Spain

By Steve in Girona

from Girona, Spain

About Me Designer, Developer

Verified Buyer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Intermediate

    Comments about oreilly Programming PHP, 3rd Edition:

    I have many O'Reilly books on my shelf but I can't imagine a clearer and more concise guide to PHP (and in my case, MySQLi). Also I appreciate the way the books are typeset, it helps enormously when they are clear and attractive to look at. In my case, I'm determined to build my own CMS website from scratch rather than use one of the "off-the-shelf" systems. I found the section on user authentication and sessions very useful. I even purchased the version for my Kindle which I read by the pool. Now that's really nerdish!

    (1 of 2 customers found this review helpful)

     
    1.0

    Out Dated Code

    By JDH

    from FL

    Verified Buyer

    Pros

      Cons

      • Not comprehensive enough

      Best Uses

        Comments about oreilly Programming PHP, 3rd Edition:

        On the plus side, having to rewrite deprecated examples to current code re-enforces the learning experience, but still, no updates??

        (4 of 6 customers found this review helpful)

         
        1.0

        Not up to O'Reilly standards

        By Somerville Tom

        from Boston, MA

        About Me Developer

        Verified Reviewer

        Pros

        • Doorstop

        Cons

        • Not comprehensive enough
        • Too basic
        • Too many errors

        Best Uses

          Comments about oreilly Programming PHP, 3rd Edition:

          I am an experienced developer who is new to PHP. This book was barely enough to get me started, and absolutely fails to provide even a bare minimum of material to be used as any kind of go-to PHP reference. For example, there is NO MENTION of "throw", one brief and superficial chapter on "objects" (and that uses an inept and hopelessly confused vocabulary), and nothing at all about the idioms and practices of day-to-day PHP programming. The index is particularly hideous. Nothing about namespaces, nothing about the SPL, nothing about autoload. In short, save your money and instead walk through any of the many introductory tutorials.

          (1 of 1 customers found this review helpful)

           
          4.0

          3rd edition of "Programming PHP"

          By Carel Fenijn (HiSeCu)

          from Leiden, Netherlands

          Verified Reviewer

          Pros

          • Accurate
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

              Comments about oreilly Programming PHP, 3rd Edition:

              The following is a review of the third edition of the book: "Programming PHP", 'Creating Dynamic Web Pages' by Kevin Tatroe, Peter MacIntyre and Rasmus Lerdorf, O'Reilly, Cambridge 2013.

              Programming PHP is a useful book for those who are relatively new to the language. The book is targeted at both programmers and web designers. It is not just on coding, but also describes some of the broader setting, like the history of the language and the setting of your programs in server environments and its use of various types of technologies. It is useful for people who use various platforms, like Windows and Unix.

              I like the chapter on security. Fortunately, nowadays programmers learn more and more to do coding with security in mind. The following subjects are treated in this chapter: Filtering Input, XSS, Escaping Output, Session Fixation, File Uploads, File Access, PHP Code and Shell Commands and refers to the book "Essential PHP Security" by Chris Shiflet and other sources of information.

              An alphabetic Listing of PHP Functions is included at the end of the book. This can be a handy reference, especially if you are tired of staring at your screen for too long and you have the paper version of the book.

              People who want to buy this book should be careful that they buy the very last edition of it.

              (1 of 1 customers found this review helpful)

               
              4.0

              Very good reference

              By paulwp

              from Brazil

              Verified Reviewer

              Pros

              • Accurate
              • Concise
              • Easy to understand
              • Helpful examples
              • Well-written

              Cons

                Best Uses

                • Intermediate
                • Novice
                • Student

                Comments about oreilly Programming PHP, 3rd Edition:

                I bought the PHP cookbook first, but it was published in 2006, and I was looking for a more up to date book on PHP.
                This book is really well written and covers all the important functions and concepts of PHP.
                Great for beginners and advanced users.

                (1 of 1 customers found this review helpful)

                 
                4.0

                Programming PHP

                By hfb

                from Nashua, NH

                About Me Engineer, Enginner

                Verified Reviewer

                Pros

                • Easy to understand
                • Helpful examples

                Cons

                  Best Uses

                  • Novice
                  • Student

                  Comments about oreilly Programming PHP, 3rd Edition:

                  I picked this book up because I thought I would try to get into making my own website to be able to post some information. I didn't realize I needed HTML knowledge to get going with PHP but I guess after thinking about it, it makes perfect sense.
                  Anyway, the book is just like many of the other programming books in that it covers a wide variety of topics and is well organized. I always find it interesting to see the history of how these languages began and this too has a good history.
                  The content of the book is nice and good enough to get around and know what you are trying to do.
                  Overall, I would say this is a nice reference to have around.

                  Disclaimer: This book was received as part of the O'Reilly Blogger Review Program. All comments represent my thoughts and opinions.

                  (1 of 1 customers found this review helpful)

                   
                  4.0

                  Comprehensive Guide for Begginers

                  By Steven Sierra

                  from Colombia

                  About Me Developer, Educator, Maker

                  Verified Reviewer

                  Pros

                  • Accurate
                  • Helpful examples
                  • Well-written

                  Cons

                    Best Uses

                    • Novice
                    • Student

                    Comments about oreilly Programming PHP, 3rd Edition:

                    We have and academic group and this book has been very useful for newcomers to programming, if you want to learn basic stuff about PHP this is the right book you should choose, it contains almost every topic that a programmer face when developing real applications.

                    From the most basic stuff to the real applications this book covers all you need to begin to develop web applications.

                    (4 of 4 customers found this review helpful)

                     
                    3.0

                    Not THE BOOK of PHP

                    By teak

                    from Jyväskylä, Finland

                    About Me Developer

                    Verified Reviewer

                    Pros

                    • Helpful examples

                    Cons

                    • Not comprehensive enough

                    Best Uses

                    • Intermediate
                    • Novice
                    • Student

                    Comments about oreilly Programming PHP, 3rd Edition:

                    Even the first chapter tells that the book will fall short for the title. For me the standard for Programming Y is the Programming Perl. In the first chapter the book lists that with PHP you can do server-side scripting, command-line scripting and client-side GUI applications. Then it says that only the server-side scripting will be presented on the book. This is a total let down.
                    Even with this rather narrow focus the book fails to deliver. For me the file IO is lot more than few pages embedded in database section. Same goes for executing shell commands from the script. This was only mentioned in the security chapter. For me lack of proper handling of these two items is borderline criminal oversight.
                    There is also a minor issue with the typography. Time to time it is hard to distinguish between code and output. The first third of the book is rather solid piece of text, but the in second third the book starts to fell apart for me as it starts to feel bit rushed and shallow. Last third was better than the second, but some parts of it felt like promotional material for Zend.
                    In any case I learned important PHP stuff from the book and the book delivered what the description promised. But the title promised more than the description did. This is not THE BOOK about PHP (I don't know if there is one). The book assumes that reader has some programming background and looks as an OK book for adding PHP to ones skill set.

                    Disclaimer: I received the book through the O'Reilly Blogger Review program.

                    Displaying reviews 1-8

                    Back to top

                     
                    Buy 2 Get 1 Free Free Shipping Guarantee
                    Buying Options
                    Immediate Access - Go Digital what's this?
                    Ebook: $33.99
                    Formats:  DAISY, ePub, Mobi, PDF
                    Print & Ebook: $43.99
                    Print: $39.99