22 November 2004: These are some basic patches to get the example code in the 2nd edition of MySQL/PHP Database Applications running on the current release of PHP 5.0. (The book was written against pre-alpha development versions of the PHP 5 code line, so naturally several things have changed in the move to an official release.) The patch files are : autoload.php.patch.txt catalog.classes.product.class.php.patch.txt catalog.functions.print_product.php.patch.txt catalog.header.php.patch.txt classes.base.class.php.patch.txt classes.error.class.php.patch.txt classes.image.class.php.patch.txt classes.trace.class.php.patch.txt classes.unexceptional.class.php.patch.txt functions.basic.error_handler.php.patch.txt There's a Unix script file here as well, 'dopatches', that I personally have used to apply the patches to the code straight off the CD. This assumes that you have a directory named 'patches' that is parallel to the 'book' directory. Even if you can't run this, it will give you an idea of which files to update. These are not extensive changes and you can make them by hand without, well, enormous difficulty, I hope. patch book/autoload.php patches/autoload.php.patch.txt patch book/catalog/classes/product.class.php patches/catalog.classes.product.class.php.patch.txt patch book/catalog/functions/print_product.php patches/catalog.functions.print_product.php.patch.txt patch book/catalog/header.php patches/catalog.header.php.patch.txt patch book/classes/base.class.php patches/classes.base.class.php.patch.txt patch book/classes/error.class.php patches/classes.error.class.php.patch.txt patch book/classes/image.class.php patches/classes.image.class.php.patch.txt patch book/classes/trace.class.php patches/classes.trace.class.php.patch.txt patch book/classes/unexceptional.class.php patches/classes.unexceptional.class.php.patch.txt patch book/functions/basic/error_handler.php patches/functions.basic.error_handler.php.patch.txt