Re: User Authentication

From: Date: Fri, 27 Feb 2004 14:34:53 +0000
Subject: Re: User Authentication
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-33187@lists.php.net to get a copy of this message
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 */

« previous php.db (#33187) next »