Re: [PHP] Reducing size of htm output

2005-05-09 Thread Prathaban Mookiah
] 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_gzhandler) can cause problems on IE 5.5+? Since IE any

Re: [PHP] Reducing size of htm output

2005-05-09 Thread Rory Browne
--- 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 htm output Prathaban Mookiah wrote: Is it true that ob_start(ob_gzhandler) can

Re: [PHP] Reducing size of htm output

2005-05-09 Thread Prathaban Mookiah
--- 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 remember gz encoding works fine

Re: [PHP] Reducing size of htm output

2005-05-08 Thread Andy Pieters
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 Kirsten,

Re: [PHP] Reducing size of htm output

2005-05-06 Thread Prathaban Mookiah
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 size of the HTM generated by a PHP script

Re: [PHP] Reducing size of htm output

2005-05-06 Thread Rasmus Lerdorf
Prathaban Mookiah wrote: Is it true that ob_start(ob_gzhandler) can cause problems on IE 5.5+? Since IE any-version 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

Re: [PHP] Reducing size of htm output

2005-05-06 Thread Kirsten
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

Re: [PHP] Reducing size of htm output

2005-05-06 Thread Marek Kilimajer
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

[PHP] Reducing size of htm output

2005-05-06 Thread Kirsten
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: headscript function any(){ somecode;

Re: [PHP] Reducing size of htm output

2005-05-06 Thread Rasmus Lerdorf
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: headscript

Re: [PHP] Reducing size of htm output

2005-05-06 Thread Marek Kilimajer
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: headscript function