Topic awaiting preservation: PHP: Headers already sent... yeah right. (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Detroit, MI US |
posted 04-01-2010 19:26
I have an ecommerce program that I recently moved to a new server. It keeps telling me that I can't do a redirect using the header command because they're already sent by FCKeditor. Knowing that the problem usually is an issue of non-php code somehow getting thrown into the mix somewhere before the header command either because of whitespace at the end of a file or some function outputting html before the header command, I tried everything to clear the issue. Finally, out of frustration, I just deleted everything that was in the include that PHP claims already sent the headers. It still says that it's sending headers. HOW!?!? In what world does a file with nothing in it do anything at all, much less send headers?!?! Anyone have any ideas or am I relegated to pulling my hair out and slamming various peripheral devices out of frustration until I finally decide to collect unemployment? |
Bipolar (III) Inmate From: Detroit, MI US |
posted 04-01-2010 20:30
Nevermind. I know it's hack somewhat, but I just used the ob_flush instead. I'm tired of worrying about it. |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 04-02-2010 02:17
utf bom mark... would be my guess. |