From Barnes & Noble
The Barnes & Noble Review
Right now, hundreds of programmers are using PHP to solve virtually the same problems. Some are writing great code. Some are writing mediocre code. Some are searching the Web for code to steal. Now they’ve all got a single source for high-quality PHP code: The PHP Cookbook.
There are 250 “recipes” here -- but this is better than mere “cut and paste.” The authors explain exactly how and why the code works, so you can adapt it to your own situation without losing its elegance or robustness.
The solutions they provide cover the waterfront -- from simple tasks that only require a minor php.ini settings adjustment (like sending compressed web output to browsers that support it) to entire programs for handling complex challenges (like printing arrays in horizontally columned HTML tables and building bar charts).
You name it, it’s here. Session tracking. Authentication. Validating dates (and accounting for Daylight Ssavings Time). Secure forms processing. Connecting to and querying SQL databases. Fetching URLs (with GET, POST, and cookies). Generating XML, either manually or with DOM. Encrypting and decrypting data. Sending and reading email. Working with PEAR packages. Use these solutions -- and spend your precious time doing something original. Bill Camarda
Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks For Dummies®, Second Edition.
From the Publisher
When it comes to creating dynamic web sites, the open source PHP language is red-hot property: used on more 19 million web sites today, PHP is now more popular than Microsoft's ASP.NET technology. With our Cookbook's unique format, you can learn how to build dynamic web applications that work on any web browser. This revised new edition makes it easy to find specific solutions for programming challenges.
"PHP Cookbook" has a wealth of solutions for problems that you'll face regularly. With topics that range from beginner questions to advanced web programming techniques, this guide contains practical examples -- or "recipes" -- for anyone who uses this scripting language to generate dynamic web content. Updated for PHP 5, this book provides solutions that explain how to use the new language features in detail, including the vastly improved object-oriented capabilities and the new MySQLi database extension. New sections on classes and objects are included, along with new material on processing XML, building web services with PHP, and working with SOAP/REST architectures. With each recipe, the authors include a discussion that explains the logic and concepts underlying the solution.