PHP and MySQL Recipes: A Problem-Solution Approach, Second Edition

PHP and MySQL Recipes: A Problem-Solution Approach, Second Edition

Author: Frank M. Kromann

 has been about 10 years since  PHP 5 Recipes – A Problem-Solution Approach  was published and PHP, and web technology in general, has come a long way since then. It's time to update some of the recipes.  The example code in this book is designed to work with the current versions (PHP 5.6 and PHP 7) but in many cases the examples will work with older versions of PHP 5. PHP 7 is still fairly new and many site owners have not yet upgraded. For the most part PHP 7 is compatible with PHP 5.6 but it does include a few new features and a couple of backwards compatibility issues. Not all extensions have been updated to work with the new Zend Engine (the internal workings of PHP).  It is highly recommended to use the very latest version of PHP. This will ensure the best performance and security, and it will provide access to the latest features.  PHP was designed as a scripting language for generating dynamic web content in the form of responses to requests from a client (usually a browser) to a web server using the HTTP protocol. The browser is no longer the only type of client for these scripts. In a world where more and more data is accessed through web services that return JSON, XML, or other structured formats, we are seeing clients being anything: from applications on a smart phone, other applications, and even servers talking to other servers to exchange data

Download