Re: [PHP] Re: header & headers_sent BUG

2003-07-23 Thread James M. Luedke
Fokkema wrote: You might want to check whether or not your header output is getting buffered. My suggestion is a flush() after the fist call. I'm not an expert on this, it's just an idea. HTH -- Ivo Fokkema PHP & MySQL programmer Leiden University Medical Centre Netherlands "James

[PHP] header & headers_sent BUG

2003-07-23 Thread James M. Luedke
Hello all: I am having a hard time with a small piece of code. I was wondering if someone may be able to explain why the following code will not work... I have been scratching my head for a few hours now and I am stumped. header("Location: http://someplace.com";); if( ! headers_sent()) hea