PHP Cookbook, 3rd Edition
Solutions & Examples for PHP Programmers
Publisher: O'Reilly Media
Final Release Date: June 2014
Pages: 820

Want to understand a certain PHP programming technique? Or learn how to accomplish a particular task? This cookbook is the first place to look. With more than 350 code-rich recipes revised for PHP 5.4 and 5.5, this third edition provides updated solutions for generating dynamic web content—everything from using basic data types to querying databases, and from calling RESTful APIs to testing and securing your site.

Each recipe includes code solutions that you can freely use, along with a discussion of how and why they work. Whether you’re an experienced PHP programmer or coming to PHP from another language, this book is an ideal on-the-job resource.



You’ll find recipes to help you with:

  • Basic data types: strings, numbers, arrays, and dates and times
  • Program building blocks: variables, functions, classes, and objects
  • Web programming: cookies, forms, sessions, and authentication
  • Database access using PDO, SQLite, and other extensions
  • RESTful API clients and servers, including HTTP, XML, and OAuth
  • Key concepts: email, regular expressions, and graphics creation
  • Designing robust applications: security and encryption, error handling, debugging and testing, and performance tuning
  • Files, directories, and PHP’s Command Line Interface
  • Libraries and package managers such as Composer and PECL
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyPHP Cookbook, 3rd Edition
 
3.8

(based on 4 reviews)

Ratings Distribution

  • 5 Stars

     

    (0)

  • 4 Stars

     

    (3)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Helpful examples (4)
  • Easy to understand (3)

Cons

    Best Uses

    • Intermediate (3)
    • Novice (3)

    Reviewed by 4 customers

    Sort by

    Displaying reviews 1-4

    Back to top

     
    4.0

    Early view

    By Max

    from Manchester UK

    About Me Designer, Developer

    Pros

    • Easy to understand
    • Helpful examples

    Cons

      Best Uses

      • Intermediate
      • Novice

      Comments about oreilly PHP Cookbook, 3rd Edition:

      Good content - very instructive and clear . I suspect that the flow will probably improve when finished/released and the ragetty patches will be filled in

       
      4.0

      I likethe book.

      By Jean-Francois Messier

      from Aylmer, CANADA

      About Me Sys Admin

      Verified Buyer

      Pros

      • Easy to understand
      • Helpful examples

      Cons

        Best Uses

        • Intermediate
        • Novice

        Comments about oreilly PHP Cookbook, 3rd Edition:

        To me, this book is another reference for the part-time development (or rather hacking) that I have to do in PHP. I like the examples and the descriptions. This is one thing I like of O'Reilly books. They are always well organised, and I know what to expect when I buy one of their books.

        (1 of 2 customers found this review helpful)

         
        3.0

        Too basic for intermediate developers

        By RwZ

        from Mexico

        About Me Designer, Developer, Sys Admin

        Verified Buyer

        Pros

        • Concise
        • Easy to understand
        • Helpful examples

        Cons

        • Too basic

        Best Uses

        • Novice
        • Student

        Comments about oreilly PHP Cookbook, 3rd Edition:

        The book is not bad, just too basic, i wanted a book with advanced examples or not so simple. It's good for beginner people looking to have little code snippets to learn.

         
        4.0

        PHP Cookbook

        By Dazzler

        from York, UK

        About Me Maker

        Verified Buyer

        Pros

        • Accurate
        • Available Immediately
        • Concise
        • Helpful examples
        • Well-written

        Cons

        • Difficult to understand

        Best Uses

        • Intermediate

        Comments about oreilly PHP Cookbook, 3rd Edition:

        I purchased thios product as I am starting to write my own php code for the web, etc. and I found it to be an excellent way to find snippets of code to assist me in writing larger programmes. I would certainly recommend this book to anyone who is struggling to find methods and functions to make life easier.
        The only thing I don't like about this book is that it gets very technical very early on in the book, but if you can cope with reasonably easy coding you will find this a great book to assist you.

        Displaying reviews 1-4

        Back to top

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