[Typo3-dev] how to handle forms data?

Wolfgang Klinger wolfgang at stufenlos.net
Wed Jun 16 09:08:37 CEST 2004


 *hiya!*

 On Wed, 16 Jun 2004, Stig N. Jepsen wrote the following:
> But my concerns are about double submissions if (accidently?) reloading or
> going one page back.
> What is the best way to handle forms like this?

 Just redirect after handling the form data.
------
$location = t3lib_div::locationHeaderUrl($url);
header ('Location: '.$location);
------

 bye
 Wolfgang







More information about the TYPO3-dev mailing list