Hi
Is there some way that I can redirect PHP's output so that it can go somewhere other than STDOUT? I've used this capability within Perl, but can't seem to find any info about it anywhere in the docs for PHP.
I'm trying to read in a PHP template file (i.e. containing PHP code) and then trying to capture the parsed code in a variable. I've tried Eval() and just about everything else I can think of... I was thinking of redirecting PHP's output to a tmp file and then opening that file up and attaching it to an e-mail for sending out.
Does anyone have any suggestions about how I can pull in a separate PHP file, process it and then send it out to my user (the e-mail bit I've already gotten working, but the file needs to extract data from a database before being sent out...)
Heylp!