khristian Posted February 10, 2008 Share Posted February 10, 2008 Hi, I am currently writing a PHP form for users to log into a website. Simple enough, they enter their username and password and the next page uses the info from the form $username = $_POST["user"]; $password = $_POST["pass"]; However, is there any way I can then get the page to clear the values of the $_POST["user"] and $_POST["pass"] areas? Any ideas would be appreciated :-) Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted February 10, 2008 Share Posted February 10, 2008 Can you tell us what you are trying to achieve? The $_POST array is re-filled each time the script is invoked and clearing it doesn't affect what is shown on the screen. Ken Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.