Re: redirect with header still not working
| From: | Dave Goodchild | Date: | Tue, 17 Apr 2007 15:13:38 +0000 |
| Subject: | Re: redirect with header still not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253113@lists.php.net to get a copy of this message | ||
That is, unless you use output buffering. It may not be the most elegant
solution (using header() to redirect users increases server calls), but I
built a template-driven php site that calls:
<?php ob_start; ?>
...depending on certain conditions which means I can then use header() even
after I have started output.