dragonfly24
-
Posts
3 -
Joined
-
Last visited
Posts posted by dragonfly24
-
-
It seems to be losing the variables and when we echo the query the username and password fields are empty. In addition, we are getting the following error:
Undefined variable: dbc in login.php on line 90 Warning: mysqli_close() expects parameter 1 to be resource, null given in /login_content.php on line 90 -
We have used the login script from chapter 18 successfully numerous times however we are now having an issue with a server that is running php 5.3.3. It seems to be skipping over this section:
if ($e && $p) { // If everything's OK.
We just get a "Please try again" error.
Chapter 18 - Issue With Login Script
in PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (4th Edition)
Posted
Can anything help with us?? We have around 40 sites using this code and need to get this resolved. Thanks