RE: [PHP] How to handle the POST data
| From: | Chris W. Parker | Date: | Mon, 10 Nov 2003 19:09:45 +0000 |
| Subject: | RE: [PHP] How to handle the POST data | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-169070@lists.php.net to get a copy of this message | ||
Koala Yeung <mailto:perlkoala@hotmail.com>
on Monday, November 10, 2003 11:05 AM said:
> When one submit a thread, read the index table of forum.php, and press
> "Reflash", the browser will give a message like:
> "The page you are browsing contains POSTDATA.
> If you Re-submit the information, the webpage will do the action
> again..."
>
> What can I do?
I suggest you do your processing on a separate page THEN redirect* the
user to whatever page you want them to be at after the processing is
done. This will eliminate your problem.
HTH,
Chris.
* redirect in PHP using the header() function.
--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/