|
Posted by Hermann.Richter on 10/09/06 03:17
Thanks.
Is there any performance impact or server overloading if I use output
buffering??
Does it take more resources (cpu, ram)??
On Oct 7, 6:59 pm, Andy Hassall <a...@andyh.co.uk> wrote:
> On 7 Oct 2006 14:51:36 -0700, Hermann.Rich...@gmail.com wrote:
>
>
>
>
>
> >Is there any way to remove automatically all blank chars from the html
> >sent to the client??
>
> >Example:
> >----------------------------------------------------------------
> ><?
> >echo "HTML tags here<br>" ;
> >?>
> >more HTML here
> ><div>
> > <div>
> > Some text
> > </div>
> ></div>
>
> ><?
> >----------------------------------------------------------------
>
> >after running this php script the client should receive:
> >----------------------------------------------------------------
> >HTML tags here<br>
> >more HTML here
> ><div>
> ><div>
> >Some text
> ></div>
> ></div>
> >----------------------------------------------------------------
>
> >Is there any option in PHP to do this automatically?? Not built-in, but you could use output buffering and modify the contents of
> the buffer as it's output.
>
> http://uk2.php.net/manual/en/ref.outcontrol.php
>
> --
> Andy Hassall :: a...@andyh.co.uk ::http://www.andyh.co.ukhttp://www.andyhsoftware.co.uk/space:: disk and FTP usage analysis tool- Hide quoted text -- Show quoted text -
Navigation:
[Reply to this message]
|