How to handle the POST data
From: Koala Yeung (perlkoala_at_hotmail.com)
Date: 11/10/03
- Next message: Martin Helie: "Re: [PHP] resource handle - keeping alive?"
- Previous message: Jonis Maurin Ceara: "New module"
- Next in thread: Chris Shiflett: "Re: [PHP] How to handle the POST data"
- Reply: Chris Shiflett: "Re: [PHP] How to handle the POST data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <php-general@lists.php.net> Date: Tue, 11 Nov 2003 03:05:23 +0800
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?
- Next message: Martin Helie: "Re: [PHP] resource handle - keeping alive?"
- Previous message: Jonis Maurin Ceara: "New module"
- Next in thread: Chris Shiflett: "Re: [PHP] How to handle the POST data"
- Reply: Chris Shiflett: "Re: [PHP] How to handle the POST data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|