Re: Login Verification
| From: | John Taylor-Johnston | Date: | Sat, 10 Jul 2004 20:31:28 +0000 |
| Subject: | Re: Login Verification | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190142@lists.php.net to get a copy of this message | ||
It sounds like you are afraid they will see login_verified.php? If they surf to http://www.foo/login_verified.php you could verify that
a field exists ...
echo "<form action='login_verified.php' method='post' name='Login
Form'
title='Login Form'>
<input type="hidden" name="something">";
<?php
if ($something)
{
#add the contents here
}else{
echo " ";
}
?>
Harlequin 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
> -----------------------------
--
John Taylor-Johnston
-----------------------------------------------------------------------------
"If it's not open-source, it's Murphy's Law."
' ' ' Collège de Sherbrooke:
ô¿ô http://www.collegesherbrooke.qc.ca/languesmodernes/
- Université de Sherbrooke:
http://compcanlit.ca/
819-569-2064