Reply to Re: Parse PHP, capture output and use as string??

Your name:

Reply:


Posted by B.r.K.o.N.j.A on 10/10/06 13:14

petethebloke@googlemail.com wrote:
> I think I've answered my own question.
>
> //at the start of the page I put....
> ob_start();
>
> //and at the end I put......
> $output_string=ob_get_contents();
> ob_end_clean();
>
> Seems to work, but if you know better then please say so.
>
> Pete
>
That should be ok, I'm using it as a base for my templating engine and I
had no problems so far.

--

B.r.K.o.N.j.A = Bionic Robotic Knight Optimized for Nocturnal Judo and
Assasination

[Back to original 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

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