I have been googling for this but no one appears to have the answer.
This post describes the problem well:
http://www.mail-archive.com/[email protected]/msg198576.html
Server is Windows 2008 FastCGI PHP 5
I have been googling for this but no one appears to have the answer.
This post describes the problem well:
http://www.mail-archive.com/[email protected]/msg198576.html
Server is Windows 2008 FastCGI PHP 5
microsoft released a fix for this: http://www.microsoft.com/downloads/en/results.aspx?freetext=980363&displaylang=en&stype=s_basic
It should be as given by R. Bemrose; that's the usual example code. I guess there is something not-quite-right about your PHP execution environment.
Another method you can try is the CGI standard way of passing back a status line:
header('Status: 301 Moved permanently');
header('Location: http://www.example.com/');