Menu
Hello
I have a page called ‘test.php’
The page contains a form with method POST
here is the definition:
<form method=”post” action=”test.php”>
As you see, the user submits the form to the same page the form was defined at.
Now, whenever I surf to that page directly, I get the following error message in the browser:
“The page cannot be refreshed without resending the information. Click Retry to send the information again, or click Cancel to return to the page that you were trying to view.”
If I click Retry then everything is ok.
How can I detect in PHP that no information has been sent?
thanks in advance