another about HTML-QuickForm
| From: | Jeroen van Vlierden | Date: | Mon, 23 Jun 2003 15:06:04 +0000 |
| Subject: | another about HTML-QuickForm | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-6199@lists.php.net to get a copy of this message | ||
The next question....
I have made a QuickForm that lets the user enter a name and a password
It validates it against the name and password in a mysql database and i
carry on after that if it's ok
if ($form->validate())
{
$NAME= $_GET[NAME];
$login = GetRowFromDatabase($NAME);
$password = $_GET['PASSWORD'];
if ($password == $login["Password"])
{
// etcetera we can carry on from here
}
My problem is now that after the form submission the password can be viewed
in the browsers url field.
something like
http://url/test.php?NAME=hello&PASSWORD=world&submit=Login
How can I avoid that?