Re: Re: PHP Redirection If Login Fails.

From: Date: Fri, 09 Jul 2004 12:03:47 +0000
Subject: Re: Re: PHP Redirection If Login Fails.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-190054@lists.php.net to get a copy of this message
On Friday 09 July 2004 18:37, Harlequin wrote: > Here's the code in question: I'd ideally want the user to only be directed > to this page if login is successful. Directed to another page if > unsuccessful but even the error messages do not display which I find > strange... [snip] > else // password is not correct > { > unset($do); > $message="The Login Name, '$_POST[TXT_UserID]' > exists, but you have not entered the correct password! Please > try again.<br>"; Do you actually print/echo $message elsewhere in your code? In the code you posted, I can only see it being assigned by not actually used. -- 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-general ------------------------------------------ /* When the bosses talk about improving productivity, they are never talking about themselves. */

« previous php.general (#190054) next »