Re: User Authentication
| From: | Craig Hoffman | Date: | Fri, 27 Feb 2004 14:42:52 +0000 |
| Subject: | Re: User Authentication | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-33189@lists.php.net to get a copy of this message | ||
Thanks - I can't believe I missed that. :(
Craig
__________________________________
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: choffman@eclimbmedia.com
w: www.eclimbmedia.com
_________________________________
On Feb 27, 2004, at 8:34 AM, Jason Wong wrote:
On Friday 27 February 2004 22:26, Craig Hoffman wrote:I could use some help here. I have a script that checks a user name and password against the MySQL DB. I have it set as a function so I included/require it on the page. Here is the script:[snip]When I change the "return false" to "return true" in the first script (login) it authenticates, but logs any one in. Not good. Does anyone have any ideas or suggestions?You aren't actually performing any queries -- you're missing a mysql_query(). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-db ------------------------------------------ /* The average girl would rather have beauty than brains because she knows that the average man can see much better than he can think. -- Ladies' Home Journal */ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php