Re: Re: PHP Redirection If Login Fails.
| From: | Harlequin | Date: | Fri, 09 Jul 2004 13:09:11 +0000 |
| Subject: | Re: Re: PHP Redirection If Login Fails. | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190057@lists.php.net to get a copy of this message | ||
Thanks Jason. I think that's where I was falling down with this one.
--
-----------------------------
Michael Mason
Arras People
www.arraspeople.co.uk
-----------------------------
"Jason Wong" <php-general@gremlins.biz> wrote in message
news:200407092003.47378.php-general@gremlins.biz...
> 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.
> */