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.1

(based on 12 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (6)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (3)

58%

of respondents would recommend this to a friend.

Pros

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

Cons

  • Not comprehensive enough (6)

Best Uses

  • Student (6)
  • Novice (5)
  • Intermediate (4)
    • Reviewer Profile:
    • Developer (6)

Reviewed by 12 customers

Displaying reviews 1-10

Back to top

Previous | Next »

 
2.0

form validation

By j

from denver co

About Me Developer, Sys Admin

Pros

    Cons

    • Too many errors

    Best Uses

      Comments about oreilly Programming PHP, 3rd Edition:

      errors

      (0 of 1 customers found this review helpful)

       
      4.0

      not fully baked

      By Peshone

      from Denver, CO

      About Me Developer

      Verified Reviewer

      Pros

      • Easy to understand

      Cons

      • Not comprehensive enough

      Best Uses

      • Expert

      Comments about oreilly Programming PHP, 3rd Edition:

      It is a geek book for geeks, not fully cooked for average reader. Some examples do not work.

      (1 of 1 customers found this review helpful)

       
      1.0

      Frustrating

      By John the retired Tech Dude

      from Portland, OR

      About Me Hacker

      Verified Reviewer

      Pros

      • Concise
      • Easy to understand

      Cons

      • Not comprehensive enough

      Best Uses

      • Student

      Comments about oreilly Programming PHP, 3rd Edition:

      I've used perl for years and then got hooked up with a site written in PHP. So I got this to get me through. I am really disappointed in this book. I keep looking for something and screaming at it, 'cuz it ain't there.

      Many functions have no examples or trivial examples or obtuse examples that bury the function.

      The function reference section in the back does not include keywords, and they don't point back to examples in the book.

      The meaning of some of the parameters passed to functions is glossed over.

      The database information is weak.

      There is not really a discussion of good practices in structuring code.

      You get statements like this:
      "The preg_match() function takes the same arguments as and gives the same return value as the preg_match() function, except that it takes a Perl-style pattern instead of a standard pattern." (pg 112). Huh?

      I hate this book.

       
      4.0

      A good basic book

      By Ton van Lankveld

      from Boekel, The Netherlands

      About Me Designer, Educator

      Verified Buyer

      Pros

      • Concise
      • Helpful examples
      • Well-written

      Cons

      • Not comprehensive enough

      Best Uses

      • Intermediate
      • Novice
      • Student

      Comments about oreilly Programming PHP, 3rd Edition:

      It is not as comprehensive as I would like, but it is a good sold introduction to PHP.
      Topics I miss are Best Practices and maybe a short chapter about documentation of your code.

       
      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!

        (2 of 4 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??

            (5 of 8 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.

              (2 of 2 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.

                      Displaying reviews 1-10

                      Back to top

                      Previous | Next »

                       
                      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