Re: general question ?
| From: | Jonas Geiregat | Date: | Mon, 24 Feb 2003 21:54:18 +0000 |
| Subject: | Re: general question ? | ||
| References: | 1 2 | Groups: | php.general php.general |
| Request: | Send a blank email to php-general+get-136995@lists.php.net to get a copy of this message | ||
Ernest E Vogelsinger heeft geschreven:
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 tohttp://www.w3.org/TR/REC-html40/interact/forms.htmlHTH, when I add method="post" it doesn't work anymore I always get the form back