Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Printed | Page xvii |
"XML-RPL" NOW READS "XML-RPC" |
Anonymous | Feb 01, 2003 | |
Printed | Page xx Acknowledgments |
"Thanks also our reviewers" |
Anonymous | Feb 01, 2003 | |
Printed | Page 2 Table 1-1 |
The escape sequences |
Anonymous | ||
Printed | Page 6 4th line of code under Discussion |
// NOW READS: /* |
Anonymous | Jan 01, 2004 | |
Printed | Page 6 5th line of code under Discussion |
*/ HAS BEEN ADDED to end of line. |
Anonymous | Jan 01, 2004 | |
Printed | Page 7 all comment lines in code |
Spurious // HAS BEEN DELETED from the end of each comment line |
Anonymous | Feb 01, 2003 | |
Printed | Page 36 1st paragraph in 2.11 Discussion |
The return values, not the arguments, for asin(), acos(), and atan() are in radians. The arguments for these functions are dimensionless. |
Anonymous | Feb 01, 2006 | |
Printed | Page 37 2.12 Solution code |
NOW READS: |
Anonymous | Feb 01, 2006 | |
Printed | Page 49 table 3-3 |
Minute %M I Note from the Author or Editor: |
Anonymous | Jul 18, 2008 | |
Printed | Page 49 Table 3-3 in the date() column for the minute row |
I |
Anonymous | Apr 01, 2005 | |
Printed | Page 73 line 19 of the code |
print "</tr> |
Anonymous | Apr 01, 2005 | |
Printed | Page 75 top of the page |
"Chapter 4" was listed twice at the top of the page. This HAS BEEN CORRECTED. |
Anonymous | Feb 01, 2003 | |
Printed | Page 77 1st paragraph |
"overwrites the value of 'Apple'. |
Anonymous | Jan 01, 2004 | |
Printed | Page 93 Recipe 4.11 |
The order of the parameters were also inversed for in_array, first code line under Solution: |
Anonymous | Apr 20, 2009 | Feb 01, 2003 |
Printed | Page 94 Recipe 4.12 |
The order of the parameters of the function were inversed. |
Anonymous | Apr 20, 2009 | Feb 01, 2003 |
Printed | Page 97 1st full sentence at top of page |
The code shown finds only the value of the largest element, not the index as |
Anonymous | ||
Printed | Page 107 IN PRINT: Solution - line 4 |
array_intersection() |
Anonymous | Feb 01, 2003 | |
Printed | Page 126 bottom of the page |
See Also |
Anonymous | Apr 01, 2005 | |
Printed | Page 167 See Also |
"Recipe 7.11 for defining a call dynamically" |
Anonymous | Feb 01, 2003 | |
Printed | Page 197, 198 Recipe 8.19 |
Inside the pc_debug() function in the first code block of the Solution, inside pc_debug() in the first code block of the |
Anonymous | Feb 01, 2003 | |
Printed | Page 234 Recipe 9.9 |
the second line from the bottom: "456" HAS BEEN REFORMATTED in bold, like the line "123" before it. |
Anonymous | Jan 01, 2004 | |
Printed | Page 239 the 23rd line from the top of the page |
INSERT INTO zodiac VALUES (8,'Scorpio','Scorpion','Mars','water',20,24,11,21); |
Anonymous | Jan 01, 2004 | |
Printed | Page 243 the line |
ftruncate($fp,0) |
Anonymous | Apr 01, 2005 | |
Printed | Page 244 Recipe 10.2 |
In the following code, the DBM handle was missing for dba_replace and dba_insert. |
Anonymous | Feb 01, 2003 | |
Printed | Page 259 fourth non-code paragraph, second sentence |
"if you call DB:quote()" |
Anonymous | Jan 01, 2004 | |
Printed | Page 265 IN PRINT: Recipe 10.12, The seventh line from the bottom of the page |
printf('<tr><td>%s: </td><td><input type="text" name="%s" value="%s">, |
Anonymous | Feb 01, 2003 | |
Printed | Page 267 (actually on page 268) 10.13 Making Paginated Links...Solution code |
Code lines at top of page 268: |
Anonymous | Jan 01, 2004 | |
Printed | Page 326 code line before See Also |
xslt_close() NOW READS xslt_free() |
Anonymous | Feb 01, 2003 | |
Printed | Page 326 Under "Solution" |
The link - |
Anonymous | Jan 01, 2004 | |
Printed | Page 363 IN PRINT: code listing near the top of the page |
mysql_connect('localhost',$_ENV['MYSQL_USER'],$_ENV['MYSQL_PASSWORD']); |
Anonymous | Feb 01, 2003 | |
Printed | Page 365 |
$hash = md5($secret_word . $id); |
Anonymous | Jan 01, 2004 | |
Printed | Page 381 code under "Solution" |
$cmd = "echo $msg | HOME=$home_dir |
Anonymous | Jan 01, 2004 | |
Printed | Page 391 15.4 solution for postscript type1 fonts |
ImageString($image, 'I love PHP.... |
Anonymous | Jan 01, 2004 | |
Printed | Page 418 end of Example 16-1 |
Missing final } HAS BEEN ADDED. |
Anonymous | Feb 01, 2003 | |
Printed | Page 422 In Recipe 16.9, the 4th line from the bottom |
$classname = "pc_MC_$locale.php"; |
Anonymous | Jan 01, 2004 | |
Printed | Page 430 IN PRINT: 8th block of code |
$headers = $mime->headers($headers); |
Anonymous | Feb 01, 2003 | |
Printed | Page 430 8th block of code |
$headers = $mime->headers($headers); |
Anonymous | Feb 01, 2006 | |
Printed | Page 431 5th and 8th blocks of code |
$headers = $mime->headers($headers); |
Anonymous | Feb 01, 2006 | |
Printed | Page 444 Solution: line 7 of code counting blank lines. |
$info |
Anonymous | Apr 01, 2005 | |
Printed | Page 445 recipe 17.7, In paragraph 4, |
"connect to an specific LDAP server" |
Anonymous | Jan 01, 2004 | |
Printed | Page 449 last paragraph ("See Also") |
gethostbyaddrl |
Anonymous | Feb 01, 2003 | |
Printed | Page 451 17.11 Solution |
The book describes a beta version of Net_Whois. Between the time we wrote |
Anonymous | Apr 01, 2005 | |
Printed | Page 482 The very last line of the page: "passes it two arguments: 12 and 56." |
NOW READS: |
Anonymous | Feb 01, 2003 | |
Printed | Page 504 Recipe 19.9 |
Recipe 19.9 IS NOW titled "Processing All Files in a Directory Recursively." |
Anonymous | Jan 01, 2004 | |
Printed | Page 590 index |
the entry for median() which points to page 138 HAS BEEN CHANGED to mean() |
Anonymous | Jan 01, 2004 |