mac os x - not getting headers already sent error
| From: | Jonathan Haddad | Date: | Mon, 07 Mar 2005 05:33:28 +0000 |
| Subject: | mac os x - not getting headers already sent error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-210138@lists.php.net to get a copy of this message | ||
I do all my development on mac os x. sometimes, to debut a script, i output the query to the page. quite often the page sends headers to go to another page. When i do this, i comment out the header() function and read the results. When i'm done i remove the comment
Sometimes I've forgotten to take out the debugging output. Now, on my server here, the page redirects and loads fine. But in the live environment, it craps out and people are left staring at a blank page.
The test server is the same computer i'm developing on.
Anyone know why this happens, and how i can fix it?
Jon Haddad