Wiley.com
Print this page Share

Professional PHP5

ISBN: 978-0-7645-7282-1
Paperback
668 pages
November 2004
Professional PHP5 (0764572822) cover image
This title is out-of-print and not currently available for purchase from this site.

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
24 Typo on Page
Where it says:

"Create a file called interface.Opener.php"

It should say

"Create a file called interface.Openable.php"
5/18/05
25 Errors in Text
abstract function open();
abstract function close();

should be:
public function open();
public function close();

AND

in the file class.Jar.php for Chapter 1
<?

?>

should be:
<?php

?>
02/22/07
106 Error in Code
print $objSteve; //prints "Steve is number 14"
Should be:
print $objSteve->_toString(); //prints "Steve is number 14"
7/19/05
119 Error in Code
public function _loadCourses(Collection $col)

should be:
public function _loadCourses(courseCollection $col)
10/05/06
171 Error in Code
private $conn;

private function __construct($dsn = null) {
global $conn;

should be:

private $conn;

private function __construct($dsn = null) {
global $cfg;
12/26/2007
246-247 Error in Code
On page 246-247, in file constants.phpm, the code should be like this.
 
<?php
// Constants
 
define("VERB_METHOD_COOKIE", 1);
define("VERB_METHOD_GET", 2);
define("VERB_METHOD_POST", 4);
 
define("CT_MINLENGTH", 1);
define("CT_MAXLENGTH", 2);
define("CT_PERMITTEDCHARACTERS", 3);
define("CT_NONPERMITTEDCHARACTERS", 4);
define("CT_LESSTHAN", 5);
define("CT_EQUALTO", 6);
define("CT_MORETHAN", 7);
define("CT_NOTEQUALTO", 8);
define("CT_MUSTMATCHREGEXP", 9);
define("CT_MUSTNOTMATCHREGEXP", 10);
?>
11/09/05
257 Error in Code
Function GetConstraintType():
An 's' is missing from its return value, i.e.
return($this->_intContraintType);
should be:
return($this->_intConstraintType);
Thus in file constraint.phpm, the code should be like.
function GetConstraintType() {
    return($this->_intConstraintType);
  }
11/09/05
15 319 Error in Variable
the first occurrence of the variable $maxlifetime has a value of null;
should be a value of:
$this->session_lifespan
10/02/06

Related Titles

More By These Authors

General Programming & Software Development

by Michael Trent, Drew McCormack
by Stephen G. Kochan
by Rick Greenwald, Robert Stackowiak, Gary Dodge, David Klein, Ben Shapiro, Christopher G. Chelliah
Back to Top