You are here: Re: How to remove blanks at runtime?? « PHP Programming Language « IT news, forums, messages
Re: How to remove blanks at runtime??

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация