|
Posted by Daniel Loose on 08/24/05 23:14
>Sounds like you could use buffering.
><?php
>
>ob_start(); // Start output buffering.
>// Instead of outputting anything, the output is now stored in a buffer.
>include('yourfile.php');
>// There, now the file has been included and php parsed.
>// It isn't output, it goes into the buffer.
>$yourfile = ob_get_clean();
>// Now we read everything that has been buffered... And stops buffering.
>
Pretty cool, thanx so much! Never heard of output buffering before.
Yeah...
Guess no need to fight with my other Reply anymore (concerning
eval_html()).
Enjoy, D.
Navigation:
[Reply to this message]
|