I'm trying to capture data that is created by launching a php file,
for example the last 10 posts in a message forum. If last10.php is
called directly in your browser you'll see hyperlinks to the last 10
posts. This file is located in /home/mydomain/last10.php .
Now I'm trying to capture that data in a template in a CMS I'm using
where you can launch php scripts. I'm just unsure how one can "run"
last10.php and capture the stream into a variable and then include
that variable to be outputted in another template. As long as I
capture the stream, that variable can simply be placed in another
template so I'm not so concerned about that.
Now I'm familiar with includes and requires, but this doesn't really
"launch" the file, it only includes the items so that you can use the
variables from my understanding. The problem is that I need the whole
stream from the last10.php to be captured into one variable that will
then print out this html that was output.
Learning this stuff is truly amazing... I hope to quit my day job. :)
Thanks... Mike