
March 24th, 2004, 06:02 PM
|
|
|
|
Join Date: Apr 2007
Location: Blacksburg,VA, USA
Posts: 30
Time spent in forums: < 1 sec
Reputation Power: 2
|
|
|
Username/Password Problem
This is my code
php Code:
Original
- php Code |
|
|
|
echo "<form action="inserted.php " method="POST ">"; echo "<input type="text " name="owner_val " size="20 " maxlength="N " value="$owner"><br>n"; echo "Password : "; echo "<input type="password " name="pw " size="20 " maxlength="N "><br><br><br>";
As you can see it is a basic HTML form code embedded within the echo command. My problem is when I use the password field.
When I type in a password and hit submit the data goes to a file called inserted.php which is specified in the code and on the location bar you have the password displayed like so:
http://localhost/inserted.php?owner_val=abc&pw=xyz
How do I stop it from showing the password on location bar?
Also, the above form code is in another file it is not in inserted.php
|