Wiley.com
Print this page Share

Creating Interactive Websites with PHP and Web Services

ISBN: 978-0-7821-4279-2
Paperback
432 pages
December 2003
Creating Interactive Websites with PHP and Web Services (0782142796) 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
71 Code Correction
The last three lines lines of code shoud read:
<?php
} //close footer()
?>
73 Code Correction
Comment on closing bracket should read: //close myfooter()

Incorrect: // close myheader()

Correct: // close myfooter()

78 Two Code Corrections
First instance of $meta.=“<TITLE>$this->sitename – “.
Change to: $meta = “<TITLE>$this->sitename – “.

Third instance of $meta.= “<TITLE>$this->sitename: – “.
Change to: $meta = “<TITLE>$this->sitename: – “.

96 Code Correction
Change first instance of
$errors .=”<strong>Form Input Errors:”.
“</strong>\n\n”

To:
$errors = “<strong>Form Input Errors:”.
“</strong>\n\n”;
118 Code Correction
Change first instance of
$errors .=”<strong>Form Input Errors:”.
“</strong>\n\n”

To:
$errors = “<strong>Form Input Errors:”.
“</strong>\n\n”;
120 Text Correction
Third paragraph: // If username exists, generate error and message.

Should read: // If username/e-mail address exists, generate error and message.

131 Code Correction
Change:

$alphanum = “abcdhefghjkmnpqrstuvwxyz0123456789”;

To:

$alphanum = “abcdefghjkmnpqrstuvwxyz0123456789”;

138 Code Correction
Change both references of:

echo '<a href==”/lostpw.php”>Lost Password?</a>';

To:

echo '<a href=”/lostpw.php”>Lost Password?</a>';

Author's Note Author's Note
This book assumes that you have PHP’s error_reporting and display_errors directives turned off on the local website you are developing on. Please look at your php.ini, make the appropriate changes and then restart your web server. You may alternatively set these PHP directives in your web site Document Root directory via the .htaccess file or your httpd.conf file for Apache. This book also requires you to have PHP’s short_open_tags directive turned on. An indication that this is not turned on is that you may notice PHP code echoed through your form fields. Turn this directive On and then restart your web server.
Entire Book Code Correction
Change all references of:

switch($_REQUEST[‘req’]){

To:

$req = (!isset($_REQUEST['req'])) ? 'default' : $_REQUEST['req'];
switch($req){

Related Titles

More By This Author

General Programming & Software Development

by Mike Gunderloy, Joseph L. Jorden, David W. Tschanz
by Margaret L. Simmons (Editor), Ann H. Hayes (Editor), Jeffrey S. Brown (Editor), Daniel A. Reed (Editor)
by Paul Oman, Shari Lawrence Pfleeger
Back to Top