Re: general question ?

From: Date: Mon, 24 Feb 2003 21:46:05 +0000
Subject: Re: general question ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136987@lists.php.net to get a copy of this message
How about changing your post method to 'post' instead of 'get'? Right now it looks like you do not declare the method at all so it defaults to get. <form name="login" action="<?echo $_SERVER["PHP_SELF"] ?>" method=post> And then of course you will have to us the $_POST['user'] instead of $_GET['user'] HTH -Brad Jonas Geiregat wrote: > 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#136987) next »