Re: HTTP headers and include()
| From: | James Colannino | Date: | Sun, 12 Jul 2009 17:57:43 +0000 |
| Subject: | Re: HTTP headers and include() | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-295292@lists.php.net to get a copy of this message | ||
Zareef Ahmed wrote:
> You should get a "headers already sent output started at ...." kind of error
> if you have enabled error reporting with display_errors ON.
Actually, I did. I just didn't think to mention it in my first post.
The thing was that it said it was coming from one of my includes, even
though I wasn't yet printing anything to the browser. That's why I was
so confused.
I've been following what tedd said in an earlier post (to make
session_start() your first line of code) and haven't had a problem since.
James