Re: [PHP] Reducing size of htm output
--- From: Rory Browne <[EMAIL PROTECTED]> To: Prathaban Mookiah <[EMAIL PROTECTED]> Cc: Rasmus Lerdorf <[EMAIL PROTECTED]>, php-general@lists.php.net, [EMAIL PROTECTED] Sent: Mon, 9 May 2005 10:42:52 +0100 Subject: Re: [PHP] Reducing size of htm output > > But I re
Re: [PHP] Reducing size of htm output
> -- Original Message --- > From: Rasmus Lerdorf <[EMAIL PROTECTED]> > To: Prathaban Mookiah <[EMAIL PROTECTED]> > Cc: Kirsten <[EMAIL PROTECTED]>, php-general@lists.php.net > Sent: Fri, 06 May 2005 14:31:04 -0700 > Subject: Re: [PHP] Reducing size of
Re: [PHP] Reducing size of htm output
TED]> To: Prathaban Mookiah <[EMAIL PROTECTED]> Cc: Kirsten <[EMAIL PROTECTED]>, php-general@lists.php.net Sent: Fri, 06 May 2005 14:31:04 -0700 Subject: Re: [PHP] Reducing size of htm output > Prathaban Mookiah wrote: > > Is it true that ob_start("ob_gzh
Re: [PHP] Reducing size of htm output
On Friday 06 May 2005 19:59, Kirsten wrote: > I need to reduce the size of the HTM generated by a PHP script for faster > transmission. I'm actually using ob_start("ob_gzhandler") but I also need > some function to reduce the size of javascript blocks, deletion of > unnecesary blanks, etc. Hi Kir
Re: [PHP] Reducing size of htm output
Kirsten wrote: 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? output buffering -- PHP General Mailing List (htt
Re: [PHP] Reducing size of htm output
>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 func
Re: [PHP] Reducing size of htm output
Prathaban Mookiah wrote: > Is it true that ob_start("ob_gzhandler") can cause problems on IE 5.5+? > > Since IE is on the client side, it shouldn't cause any problems > to ob_start(), in that case any other PHP function. That's not true. ob_gzhandler is extremely browser-dependant since it
Re: [PHP] Reducing size of htm output
using something like str_replace(). I'm not sure! Cheers, Prathap -- Original Message --- From: "Kirsten" <[EMAIL PROTECTED]> To: php-general@lists.php.net Sent: Fri, 6 May 2005 14:59:15 -0300 Subject: [PHP] Reducing size of htm output > I need to reduce the s
Re: [PHP] Reducing size of htm output
Kirsten wrote: I need to reduce the size of the HTM generated by a PHP script for faster transmission. I'm actually using ob_start("ob_gzhandler") but I also need some function to reduce the size of javascript blocks, deletion of unnecesary blanks, etc. For example, Code A:
Re: [PHP] Reducing size of htm outputKirsten wrote: > I need to reduce the size of the HTM generated by a PHP script for faster > transmission. I'm actually using ob_start("ob_gzhandler") but I also need > some function to reduce the size of javascript blocks, deletion of > unnecesary blanks, etc. > > For example, Code A: > > > fun
[PHP] Reducing size of htm output
I need to reduce the size of the HTM generated by a PHP script for faster transmission. I'm actually using ob_start("ob_gzhandler") but I also need some function to reduce the size of javascript blocks, deletion of unnecesary blanks, etc. For example, Code A: function any(){ somecode; }