How to handle the POST data
| From: | Koala Yeung | Date: | Mon, 10 Nov 2003 19:05:23 +0000 |
| Subject: | How to handle the POST data | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-169068@lists.php.net to get a copy of this message | ||
I wrote a discussion board in PHP recently
The board consis of three php files: forum.php, readforum.php,
writeforum.php
In my design,
- The writeforum.php file will generate a form.
- Once user submit the form, it return a new thread in POST to the
forum.php.
- The forum.php will receive the data and process them, afterward
- The forum.php (ALSO) will generate an index table of it.
The problem is: right after a submit process, POSTDATA still stored in the
user's browser.
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?