When a certain condition is met in my PHP, I want something above it to be executed (a header). I've read all about ob_start
but through testing it out many, many (I mean days) times, I honestly don't see any difference. So now I'm wondering whether I can leave the header at the top and activate it later on?
if($x == 1)
header("Location: something"); exit;
... // echo's, HTML, etc
$x = 1;
restart_php();
Probably not, but worth a try. Maybe someone out there does know a technique.