1.

Solve : online php form displaying password in url?

Answer»

So i have created a online form that requests a PASSWORD.<BR>when you type in the correct password and it goes to the next page the password awnser is displayed in the URL how can i stop this from happening?use a POST request rather then using GET.

for example:

Code: [SELECT]<form action="testpost.php" method="post">
password: <input type="text" size="65" name="password"><br>
<input type="submit" /><br>
</form>


and then in testpost.php (or whichever) you would access the input VALUE via $_POST['password'].
thanks that worked



Discussion

No Comment Found