[Typo3] RealUrl Header
Alexander Maringer
maringer at fmi.uni-passau.de
Mon Jan 31 22:42:43 CET 2005
Hi @all,
I was playing a little bit around with the th_mailformplus and the RealUrl
extension.
Problem: the required fields are checked at the reload with php in the
mailformplus.
If there are no errors, the user can define a page to be redirected. 'cause
the script was loaded until this point, the redirection is solved with a:
$domain=$_SERVER['HTTP_HOST'];
$url = $this->pi_getPageLink($email_redirect, '',$addparams); #
$GLOBALS["TSFE"]->sPre
header('Location: http://'.$domain.'/'.$url);
But I think it's quick-and-dirty.
Has anybody an idea or solution to do it in a clean way (without poping the
redirect in a new window?
Thanks a lot
Alexander
More information about the TYPO3-english
mailing list