On Sun, Jul 12, 2009 at 11:27 PM, James Colannino wrote:
> 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 po
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,
On Fri, Jul 10, 2009 at 12:54 PM, James Colannino wrote:
> Eddie Drapkin wrote:
>
> > HTTP headers are sent and finalized after the first bit of output. I
> > had the same problem before and it turned out to be because I had a
> > close tag "?>" at the end of a file followed by some whitespace.
At 12:09 PM +0100 7/12/09, Ashley Sheridan wrote:
On Sunday 12 July 2009 12:01:12 Lenin wrote:
On Fri, Jul 10, 2009 at 12:49 PM, Michael A. Peters wrote:
> James Colannino wrote:
>
>
>
> White space can cause this - make sure your code has top and ?> at the very bottom, or the white spac
On Sunday 12 July 2009 12:01:12 Lenin wrote:
> On Fri, Jul 10, 2009 at 12:49 PM, Michael A. Peters wrote:
> > James Colannino wrote:
> >
> >
> >
> > White space can cause this - make sure your code has > top and ?> at the very bottom, or the white space may trigger the web
> > server to send a he
On Fri, Jul 10, 2009 at 12:49 PM, Michael A. Peters wrote:
> James Colannino wrote:
>
>>
> White space can cause this - make sure your code has and ?> at the very bottom, or the white space may trigger the web server to
> send a header and the white space as data before the cookie for
> session
tedd wrote:
At 12:24 AM -0700 7/10/09, James Colannino wrote:
Eddie Drapkin wrote:
HTTP headers are sent and finalized after the first bit of output. I
had the same problem before and it turned out to be because I had a
close tag "?>" at the end of a file followed by some whitespace. The
At 12:24 AM -0700 7/10/09, James Colannino wrote:
Eddie Drapkin wrote:
HTTP headers are sent and finalized after the first bit of output. I
had the same problem before and it turned out to be because I had a
close tag "?>" at the end of a file followed by some whitespace. The
solution wa
a single line break after the closing ?> will not cause this problem. PHP
interpreter will neglect a single line break after ?> a good debugger like
xdebug will be helpful in this case. u can also see the source code of the
file to locate the output. any thing before php warning is the output befor
Eddie Drapkin wrote:
> HTTP headers are sent and finalized after the first bit of output. I
> had the same problem before and it turned out to be because I had a
> close tag "?>" at the end of a file followed by some whitespace. The
> solution was to remove the ?> from the end of all the files
James Colannino wrote:
Hey everyone,
I've been hard at work on a new web application, and discovered
something that I would never have seen coming. I was noticing that when
I called session_start() after a few lines of includes, I was getting
complaints because the HTTP headers had already been
On Fri, Jul 10, 2009 at 1:21 AM, James Colannino wrote:
> Hey everyone,
>
> I've been hard at work on a new web application, and discovered
> something that I would never have seen coming. I was noticing that when
> I called session_start() after a few lines of includes, I was getting
> complaints
Hey everyone,
I've been hard at work on a new web application, and discovered
something that I would never have seen coming. I was noticing that when
I called session_start() after a few lines of includes, I was getting
complaints because the HTTP headers had already been sent out. Then,
after p
On Thursday 23 August 2001 02:36, Casteele/ShadowLord wrote:
> Andy <[EMAIL PROTECTED]> wrote in article
> > See if is there some kind of echo before header()s, or HTML sent to
> > browser.
>
> No, I've been extremely careful to avoid that. The following are the
> two test files I've been using
On Thu, 23 Aug 2001 10:06, Casteele/ShadowLord wrote:
> Andy <[EMAIL PROTECTED]> wrote in article
> <003b01c12b23$d1f245d0$0b01a8c0@ANDreY>...
>
> > See if is there some kind of echo before header()s, or HTML sent to
> > browser.
>
> No, I've been extremely careful to avoid that. The following a
Andy <[EMAIL PROTECTED]> wrote in article
<003b01c12b23$d1f245d0$0b01a8c0@ANDreY>...
> See if is there some kind of echo before header()s, or HTML sent to
> browser.
No, I've been extremely careful to avoid that. The following are the two
test files I've been using to try to solve this.. (s
.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
> - Original Message -
> From: "Casteele/ShadowLord" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 22, 2001 6:52 PM
> Subject: [PHP] HTTP headers and include()
>
I've written a separate function library for a cluster of web pages, and I
then include("slib.php") in each of the web pages, instead of copying 12k
of code to each page individually. Some of the pages require (simple)
authentication or redirection headers, which some of the code in the
library i
18 matches
Mail list logo