Re: general question ?
| From: | Ernest E Vogelsinger | Date: | Mon, 24 Feb 2003 21:48:07 +0000 |
| Subject: | Re: general question ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136993@lists.php.net to get a copy of this message | ||
At 22:42 24.02.2003, Jonas Geiregat spoke out and said:
--------------------[snip]--------------------
>http://kemu.ath.cx/intranet/login.phps
>when I press submit everything is OK it works like I want it to work but
>I'm not happy with the result I see in my url window
>I see this
>http://localhost/intranet/login.php?user=kemu&passwd=test&submit=login
>I don't like it that you can know the passwd
>is there a way to just make this login.php and not with all the vars I
>send with it
--------------------[snip]--------------------
Make the form a POST form, like this:
<form action="login.php" method="post">
---
</form>
This will avoid variables travelling along the URL.
For more information on forms, refer to
http://www.w3.org/TR/REC-html40/interact/forms.html
HTH,
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/