Wrox Home  
Search

Topic: PHP/MySQL

Cover image for product 0470192429
PHP and MySQL: Create - Modify - Reuse
Timothy Boronczyk with Martin E. Psinas
ISBN: 978-0-470-19242-9
Paperback
341 pages
May 2008
Other Available Formats: Adobe E-Book
Paperback Version: US $39.99 Add to Cart

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
Error in Code
login.php Line 21:

if ($user->userId && $user->password == sha1($_POST['password']))

Should be

if ($user->userId && $user->isActive && $user->password == sha1($_POST['password']))
10/14/09
Error in Code
Chapter 1, User Registration, the forgotpass.php file:

// store new password
$user->password = $password;
$user->save();

Should be:

// store new password
$user->password = sha1($password);
$user->save();
10/14/09

PHP/MySQL Related Resources

Forums

Blogs