Wrox Programmer Forums
|
BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0
This is the forum to discuss the Wrox book Beginning PHP5, Apache, and MySQL Web Development by Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz, Michael K. Glass; ISBN: 9780764579660
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 23rd, 2007, 03:54 PM
Registered User
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default CH 12 login nightmare

Forgive me, but the forum seems to be deserted and yet I just bought one of your books: ISBN 978-0-7645-7966-0, Beginning PHP5, Apache, and MySQL.

I am having serious problems with chapter twelve login admin area. Here is my personal info: username= gegala; password= rowbn; email= gegala@yahoo.com; host= localhost; database= registration; php5, apache2 and also using phpmyadmin to create databases and tables. I inserted the details above in the code provided but I cannot get past the admin login screen. It keeps telling me "invalid username and password." I am about to return the book because I do not seem to see where I am going wrong and there is no sign that the forum is still functional.

My request: Could you all patiently fit in the above detail for me in the code where it goes. Or is there something I am missing? If there is some other reading that is directly related to this book, please let me know. Please help. I do not seem to understand why my names are invalid when I have mad the dbs and tables according to the script. Please help.

Gegala.

 
Old December 27th, 2007, 12:59 PM
Registered User
 
Join Date: Dec 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have the same error. The login page just does not work and returns the invalid user/password every time to any returning account trying to login again on returning to the page. The only time I can get a login to work is on the initial account creation from the register.php page.
I get the impression that the code is just not quite complete and is missing something...Anyone able to help?


 
Old December 31st, 2007, 09:34 AM
Registered User
 
Join Date: Dec 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I managed to get it to work in the end. It seems that setting the password varchar to 30 as opposed to 255 broke it






Similar Threads
Thread Thread Starter Forum Replies Last Post
CH 12 LoadTimeSheet() Problem chuck BOOK: Beginning VB.NET Databases 11 July 26th, 2012 11:48 AM
ch 12 php logins ejurasin BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 March 13th, 2006 02:24 PM
Ch. 12 Connect.asp mcauliff BOOK: Beginning ASP 3.0 2 August 5th, 2005 02:47 PM
Ch. 4 & Ch. 12 athena BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 July 23rd, 2004 10:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.