Re: post data
| From: | Rhemax | Date: | Wed, 16 Jun 2004 10:34:25 +0000 |
| Subject: | Re: post data | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-188385@lists.php.net to get a copy of this message | ||
<?php
if(count($_POST) > 0){
....
process form
...
header('Location: '.$_SERVER['PHP_SELF']);
die;
}
?>
<html>
...
your form here
...
</html>
"Eoghan" <eoghan@redry.net> wrote in message
news:40CF19E2.8090906@redry.net...
> hi,
> im posting a form to itself... and im wondering if there is any
> way to clear the post data from the page after if have dealt with it?
> to stop page refreshes posting the data again?
> thanks
> eoghan