PHP cookbook

Sklar, David (Software engineer),

PHP cookbook [electronic resource] / David Sklar and Adam Trachtenberg. - 3rd edition. - xxi, 793 pages : illustrations (black and white)

Previous edition: Farnham: O'Reilly, 2006. Formerly CIP.

Includes bibliographical references and index.

3rd edition. 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 contenteverything 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 youre an experienced PHP programmer or coming to PHP from another language, this book is an ideal on-the-job resource. Youll 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 extensionsRESTful 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 PHPs Command Line Interface Libraries and package managers such as Composer and PECL




Electronic reproduction.
Askews and Holts.
Mode of access: World Wide Web.

9781449363734 (e-book)

2016439461


PHP (Computer program language)
Web site development.
Computers and IT
Web programming
Programming & scripting languages: general


Electronic books.