SAMS TY PHP, MYSQL AND APACHE IN 24 HOURS // ERRATA
NOTE: Please go to the respective web sites for PHP, MySQL and Apache to download the latest versions of the software.
Hour 3: Installing and Configuring PHP
- On page 55, the URL in the "Note" at the bottom is now http://phpeditors.linuxbackup.co.uk/
Hour 4: The Building Blocks of PHP
- On page 76, two lines are missing a "-".
This line:
$x-; // $x is decremented
should be:
$x--; // $x is decremented
This line:
-$x; // $x is decremented
should be:
--$x; // $x is decremented
- On page 79, the line "++, -, (cast)" should be "++, --, (cast)"
Hour 5: Flow Control Functions in PHP
- There are no edits to text, but two fixed example files (testifelseif.php and testswitch.php) can be downloaded.
Hour 6: Working with Functions
- On page 123, line 11 of Listing 6.13 should read:
addFive($orignum);
A new addfive.php file can be downloaded.
Hour 8: Interacting with MySQL Using PHP
- On page 165 in the last paragraph, in the text "Save this script as..." the name should be listing8.10.php and not count.php
Hour 9: Working with Forms
- On pages 175 and 177, the figures are switched; Figure 9.2 and Figures 9.4 should be swapped
- There are no edits to text, but two fixed example files (listing9.8.php and listing9.10.php) can be downloaded.
Hour 15: Restricting Access to Your Applications
- On page 329, line 6 of listing 15.9 should read:
header("Location: listing15.7.php"); - On page 330, line 12 of listing 15.9 should include "Listing 15.9" in the title, not "Listing 15.8"
- There are no edits to text, but the source code files on the CD have named which are off by one. New files can be downloaded.
[last updated 2003-09-03]

