RE: [PHP] Finding what headers and content were already been sent

2002-05-31 Thread Rasmus Lerdorf
2002 01:13 > To: Noor Dawod > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] Finding what headers and content were already been > sent > > > You can loop through $GLOBALS and check for vars that start with > "HTTP_", > but yes, you typically know which things you are

RE: [PHP] Finding what headers and content were already been sent

2002-05-31 Thread Noor Dawod
e, I don't see > also the headers sent by the server... > > Noor > > > -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > Sent: ? 01 2002 00:34 > To: Noor Dawod > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Finding what headers a

RE: [PHP] Finding what headers and content were already been sent

2002-05-31 Thread Rasmus Lerdorf
e headers sent by the server... > > Noor > > > -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > Sent: ? 01 2002 00:34 > To: Noor Dawod > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Finding what headers and content were already been >

RE: [PHP] Finding what headers and content were already been sent

2002-05-31 Thread Noor Dawod
riginal Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: ? 01 2002 00:34 To: Noor Dawod Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Finding what headers and content were already been sent > By the way, I know that PHP's phpinfo() function lists headers received &g

Re: [PHP] Finding what headers and content were already been sent

2002-05-31 Thread Rasmus Lerdorf
> I need to find out, at any point in a PHP script, which headers and what > content (HTML or other) have been sent already. I know I can use output > buffering, but in my case, this is not going to work. You really have no way of knowing since it is the web server that decides which http headers