RE: How to do this 06-15-2014, 04:19 PM
#11
(06-15-2014, 04:07 PM)BlueCat Wrote: Do I place that anywhere in the php code? or?
It must be before you write any content.
ex.
Code:
echo "Hello user";
header("Location: http://google.com");will fail because headers need to be written before content. You can use output buffering to prevent content from being written until after everything is processed but that isn't the default.
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)