I have quite a strange problem with PHP and Apache on my local testing server. For some reason it keeps stopping sending headers to the browser (I am pretty sure that is the problem anyway).
It's not a case of the old 'output already sent' as it was working fine, had the problem, went away after I reinstalled Apache and is now back again. Sessions also appear to be broken. It also gives no errors for 'headers already sent', plus the code works on the live site.
It's not the browser either as I tried different browsers and different machines, which exhibit the same problems.
Even something dumb such as <?php header ('Location: http://www.yahoo.com'); ?>
doesn't work.
I am running wampserver (latest version) on Windows. Answers on a postcard.