You are here: Re: Parse PHP, capture output and use as string?? « PHP Programming Language « IT news, forums, messages
Re: Parse PHP, capture output and use as string??

Posted by petethebloke on 10/10/06 12:59

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

 

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

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