PHP Cookbook: Solutions & Examples for PHP Programmers
Books / Paperback
Books › Computers › Programming Languages › PHP
ISBN: 144936375X / Publisher: O'Reilly Media, August 2014
Offers instructions for creating programs to do tasks including fetching URLs and generating bar charts using the open source scripting language, covering topics such as data types, regular expressions, encryption and PEAR. Original.
Read More
<div><p>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.</p><p>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.</p><p><br><br></p><p>Youâ??ll find recipes to help you with:</p><ul><li>Basic data types: strings, numbers, arrays, and dates and times</li><li> Program building blocks: variables, functions, classes, and objects</li><li> Web programming: cookies, forms, sessions, and authentication</li><li> Database access using PDO, SQLite, and other extensions</li><li>RESTful API clients and servers, including HTTP, XML, and OAuth</li><li> Key concepts: email, regular expressions, and graphics creation</li><li> Designing robust applications: security and encryption, error handling, debugging and testing, and performance tuning</li><li> Files, directories, and PHPâ??s Command Line Interface</li><li> Libraries and package managers such as Composer and PECL</li></ul></div>
Read Less