Re: Reducing size of htm output

From: Date: Sat, 07 May 2005 00:46:23 +0000
Subject: Re: Reducing size of htm output
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-214656@lists.php.net to get a copy of this message
>preg_replace('/s+/', ' ', $html); > > but watch out, this js code will work: > > var v > alert(v) > > this one will not: > > var v alert(v) Sure.... but now: how do I access the htm output of the current executing script before it is send to the user? Thanks again > > > > > 1) Is there any function to do this (I'm using PHP 4.2) ? Or maybe some user > > has already done it? > > 2) Is it true that ob_start("ob_gzhandler") can cause problems on IE 5.5+? > > don't know. but you can detect these browsers and turn compression off

« previous php.general (#214656) next »