Re: [OUTPUT BUFFER] - problems with redirects

From: Date: Fri, 20 Aug 2010 07:56:09 +0000
Subject: Re: [OUTPUT BUFFER] - problems with redirects
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-307592@lists.php.net to get a copy of this message
On Thu, 19 Aug 2010 17:47:01 -0600, Tristan wrote: > A rewrite of the entire site would be needed in order to fix. So, I guess > you are saying as best options for workaround are > > - use the ob_ functions to work around. > - stick output buffer on or high > > so best case scenario using ob_ functions as a cleaner method aside from > rewriting the code? > > seems silly btw that you can't output html and just have it redirect > whenever you want it to at any point in the page. Actually, the HTTP spec. allows most headers to be sent after the content. The feature just wasn't implemented by too many HTTP agents (W3's HTML validator and link checker, and Opera). /Nisse

« previous php.general (#307592) next »