RE: [PHP4BETA] Header() in PHP4
| From: | Samuel Liddicott | Date: | Wed, 25 Aug 1999 17:24:18 +0000 |
| Subject: | RE: [PHP4BETA] Header() in PHP4 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3726@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Peter Holt Hoffman [mailto:peter@ibanksys.com]
> Sent: 25 August 1999 05:42 PM
> To: Samuel Liddicott; Michael Stearne; php4beta@lists.php.net
> Subject: Re: [PHP4BETA] Header() in PHP4
>
> > > <html>
> > > <head>
> > > <title>Hi</title>
> > > Location: http://www.mysite.com/
> >
> > You can with php4 unless you turn off output buffering. php4
> effectively
> > builds up the output stream seperatly from the list of headers.
>
> My example was showing literally what the browser would receive, not the
> order in which the program was generating output.
I know, but with PHP4 it would not get them in that order. In fact on php3
you would get an error anyway to say it is too late to output headers.
I agree with what you are saying.
Sam