PHP Magazine has a new link to an article over on WebProNews about Password Protection With PHP, MySQL, And Session Variables for your site.
One of the great promises that actually came true when our Internet-enabled world reached the twenty-first century is efficient customer-to-business interaction. In a new article on WebProNews, Dan McConkey reasons the need for his article, "Since retina scans and brain wave signatures are still properties of James Bond flicks, we're stuck using plain old boring passwords." He demonstrates, with plenty of sample code, how to password protect with PHP, MySQL, and session variables.
They step through the procedure, explaining things every step of the way - from session_start all the way through the code to grab the password from MySQL and validate it against the user input. They mix the use of functions like session_unregister and the $_SESSION variables, but the approach still makes sense. It's a good intro to the topic, and can be useful to anyone out there just looking to drop in a login solution...




