The best way to do this is with an HTTP header called Location.
It is used like this. If page1.php contains a form that submits to
page2.php, you will want to handle the form data with page2.php, and
when you're finished, have a line that looks like this:
header("Location: http://yoursite.org/
Create seperate documents: one to display the form and another to process
the form.
add.php // displays new form
add_handler.php // process form input
On the form processing, check for the presence of HTTP_POST_VARS before
proceeding.
if (isset($HTTP_POST_VARS))
{
##
2 matches
Mail list logo