Autoredirect and $_POST back variables
I came across a bit of a problem
I have a page that checks the submitted form. If there are any errors or illegal functions it should redirect back to the page a request came from. As well as redirect it should send an error message. Now I need it to go so that the data sent back does not appear in the browser search line.
The only way I found of doing it is to set a session variable.
I also found this:
But this way one can see what is being posted back in the top of the browse, which is exactly what I am trying to avoid.
does anyone have any ideas?
Try validating the form on the origional page, post to itself, that way you can validate and check for any errors and output an error message, the if it validates correctly redirect to the next page.
Thanks for advice, I rewrote the thing
It absolutely flew out of my head earlier on
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)