Re: Keeping fields out of URL
| From: | Tyler Longren | Date: | Mon, 23 Jul 2001 15:56:14 +0000 |
| Subject: | Re: Keeping fields out of URL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-59226@lists.php.net to get a copy of this message | ||
You forgot to put method=POST in your <form action=blah.php
should be:
<form action=blah.php method=POST>
Tyler
----- Original Message -----
From: "Shrout, Ryan" <Rshrout@krauss-maffeicorp.com>
To: <php-general@lists.php.net>
Sent: Monday, July 23, 2001 10:55 AM
Subject: [PHP] Keeping fields out of URL
> How can I keep fields in a form out of the URL?
>
> I am writing a basic PHP/login script to password protect a directory of
the
> web site (if anyone knows of something pre-made, please do let me know).
>
> But, the first stumbling block is that when sometypes in their
> username/password, even when the I use th INPUT Type Password so only
> asterics appear when it is typed, the password still appears in the submit
> query URL. How do I stop that?
>
> Ryan Shrout
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net