I have searched this site and php.net for an answer to my problem, but haven't found a solution yet.
I have a form like this (simplified version):
<FORM name="mainform" TYPE=POST ACTION="useradd.php3">
User Name: <INPUT TYPE="text" NAME="display_name" SIZE=25>
<br>Password: <INPUT TYPE="password" NAME="password" SIZE=15>
<br>Password Again: <INPUT TYPE="password" NAME="password_again" SIZE=15><br>
<INPUT TYPE="submit" name="submit" VALUE="Add Account">
</form>
Whenever someone submits the form, the page redraws, but all of the form elements appear in the querystring in the URL. Does anyone know how to get rid of these?
Here's an example of the URL after the form is submitted:
http://www.theaterreview.com/test/david/useradd.php3?entrystage=user&display_name=newuser&password=abc123&password_again=abc123&submit=Create+Account
Obviously, leaving the password in the URL is a bad idea.
Can anyone help?
Thanks!
-David