PDA

View Full Version : PHP security worry


Horus_Kol
08-05-2002, 10:03 AM
I have just got into PHP, so I thought that to start I would keep it simple.

I have a form page:


<form name="test_form" action="result.php" method="get">

Name:
<input type="password" name="name">

<input type="submit" value="submit">
</form>


I then submit to the php page, and noticed how the parameters are passed as arguments to the page name (bear with me, like I said I have just got into this).


http://10.129.6.11/result.php?name=412345


So, question is - why is the supposedly more secure password input out in clear text in the URL? Can I do something about this?

Horus_Kol
08-05-2002, 12:27 PM
could a mod please move this to the correct forum?

pretty please?

fevertje
08-05-2002, 12:59 PM
Shouldn't it be method="post"?

scoutt
08-05-2002, 05:21 PM
I moved this but didn't I just tell you that was teh problem in your other thread :P