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 to http://www.w3.org/TR/REC-html40/interact/forms.html

HTH,


when I add method="post" it doesn't work anymore I always get the form back


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to