26 of 28 people found the following review helpful
A great book yes, but it has a big flaw!,
This review is from: Macromedia Dreamweaver MX 2004 with ASP, Coldfusion and PHP: Training from the Source (Paperback)This is a great book to learn how to build dynamic websites using Dreamweaver MX 2004, however it does have a huge flaw when using PHP.
This book has only recently been published in early 2004, however when you get to lesson 13 "authenticating users" and using sessions, the book is still going with very old outdated versions of PHP that still have register_globals switched on.
It offers little advice or help on how to enable session with register_globals off, which it has been off since version 4.2.0 of PHP; therefore you cannot continue with the book and have to seek help elsewhere on the problem.
You would expect a recent publication as this is, to have dealt with the issue but it misses it completely.
The only option it offers you is to modify the php.ini file, and has nothing on using superglobal arrays, or .htaccess files.
You end up with a login page that logs you in, but doesn't let you actually do anything as the sessions are not enabled, and when you try and access a restricted page "after" logging in, it simply takes you back to the login page again and again.
I'd avoid this book and get a different one, that is new and does cover how to enable sessions properly when using versions 4.2.0 and above of PHP.