>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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to