Re: another about HTML-QuickForm
| From: | Jeroen van Vlierden | Date: | Mon, 23 Jun 2003 15:20:15 +0000 |
| Subject: | Re: another about HTML-QuickForm | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-6201@lists.php.net to get a copy of this message | ||
Thanks again Jeroen. Maybe I should get more into HTML. I am quite
experienced as a software engineer but this is my first time ever
programming webbased software. I have been trying to avoid learning HTML and
using PEAR in the PHP environment seems to be a good solution but I find out
that sometimes you still need some knowledge of HTML and that's where it
starts to go wrong.
Did you read any good books when you started this? There is a lot to be
found on the internet, but also a lot of rubbish which makes it hard to find
the good stuff.
"Jeroen Houben" <jeroen@terena.nl> wrote in message
news:3EF7187B.6070905@terena.nl...
> That's really more an HTML question than a PEAR question, but it's
> because you're using GET as the form method.
>
> Just setup your form like this:
> $form = new HTML_Quickform
>
> By default Quickform uses the POST method.
>
> HTH
> jeroen
>
>
> Jeroen van Vlierden wrote:
>
> >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?
> >
> >
> >
> >
> >
>
>
>