Apache’s ErrorDocument directive can come in handy. For example, this line in your Apache configuration file:
ErrorDocument 404 /error.php
Can be used to redirect all 404 errors to a PHP script. The following server variables are of interest:
$REDIRECT_ERROR_NOTES - File does not exist: /docroot/bogus
$REDIRECT_REQUEST_METHOD - GET
Jan 05, 2008 | By: ebook | No Comments
No matter what language you are familiar with, this book will benefit you. Beginning with a rapid introduction to PHP’s syntax and basic functionality, you will swiftly understand PHP.
The book then steers you toward advanced issues, like PHP’s role in database manipulation, sessions, and user interactivity.
Jan 05, 2008 | By: ebook | No Comments
PHP 5 Objects, Patterns, and Practice is a practical design and management book devoted to exploring object-oriented programming in PHP 5, the latest and most powerful version of PHP.
Jan 05, 2008 | By: ebook | No Comments
Pro PHP Security is one of the first books devoted solely to PHP security. It will serve as your complete guide for taking defensive and proactive security measures within your PHP applications. (And the methods discussed are compatible with PHP versions 3, 4, and 5.)
Jan 05, 2008 | By: ebook | No Comments
Pro MySQL is the first book that exclusively covers intermediate and advanced features of MySQL, the world’s most popular open source database server. Whether you are a seasoned MySQL user looking to take your skills to the next level, or you’re a database expert searching for a fast-paced introduction to MySQL’s advanced features, this book [...]
Jan 05, 2008 | By: ebook | No Comments
What you hold in your hands is the answer to all your PHP 5 needs. We have written PHP 5 Recipes with a number of purposes in mind.
First, this book is a source of instant solutions, including countless pieces of useful code that you can just copy and paste into your own applications, giving you [...]
Jan 05, 2008 | By: ebook | No Comments
MySQL 5 is slated to be the most significant release in the product’s history. The Definitive Guide to MySQL 5, Third Edition, is the newest revision of Michael Kofler’s popular book.
Jan 05, 2008 | By: ebook | No Comments
Nearly every non-trivial application requires data persistence, and for an application of any significant size and scope, persistence is typically achieved using a database. If you’re building or maintaining any significant application and are using MySQL, this book is for you.
Jan 05, 2008 | By: ebook | No Comments