Re: Login Verification
| From: | Eric Schwartz | Date: | Sat, 10 Jul 2004 21:53:46 +0000 |
| Subject: | Re: Login Verification | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190148@lists.php.net to get a copy of this message | ||
On Sat, 10 Jul 2004 20:47:47 +0100, Harlequin
<michael.mason@arraspeople.co.uk> wrote:
> Hi everyone.
>
> I have a quick question regarding the above. currently I have a form that
> posts to another page. However, rather than wait until they get to that page
> to verify their login are there conventions that are recognised for this
> process currently...?
>
> For example, my code for the form's header is:
>
> echo "<form action='login_verified.php' method='post'
> name='Login Form'
> title='Login Form'>";
>
> How can I ensure that only once a user has been verified that they can see
> the page in my form's action field...?
>
> --
> -----------------------------
> Michael Mason
> Arras People
> www.arraspeople.co.uk
> -----------------------------
Why not skip that step by adding a login redirect page? It checks the
form values against the database and if all is good hands out
credentials and sends the user on their way, and if they supply the
wrong information they are sent to another page.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>