]
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
---
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
---
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
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,
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
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
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
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
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;
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
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
11 matches
Mail list logo