PHP Cookbook by Adam Trachtenberg, David Sklar The following errata were *corrected* in the 2/06 reprint: Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem {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. NOW READS: "These functions assume that all angles are in radians, not degrees." [37] 2.12 Solution code; NOW READS: $cosine = cos(deg2rad($degree)); $degree = rad2deg(acos($cosine)); [430] 8th block of code; $headers = $mime->headers($headers); $body = $mime->get(); NOW READS: $body = $mime->get(); $headers = $mime->headers($headers); [431] 5th and 8th blocks of code; $headers = $mime->headers($headers); $body = $mime->get(); NOW READS: $body = $mime->get(); $headers = $mime->headers($headers);