RE: [PHP4BETA] Header() in PHP4

From: Date: Wed, 25 Aug 1999 16:02:05 +0000
Subject: RE: [PHP4BETA] Header() in PHP4
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-3719@lists.php.net to get a copy of this message
> -----Original Message----- > From: Peter Holt Hoffman [mailto:peter@ibanksys.com] > Sent: 25 August 1999 04:10 PM > To: Michael Stearne; php4beta@lists.php.net > Subject: Re: [PHP4BETA] Header() in PHP4 > > > To throw in my two cents worth... > > First, I thought that the reason that header() has to be called first is > because it generates HTTP statements as opposed to HTML? I.e., > the standard > says that all headers have to be sent first? For example, the > browser can't > be sent: > > <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. Sam

« previous php.version4 (#3719) next »