Thanks for the advice.

Regards,

Ben Kim
Database Developer/Systems Administrator
College of Education 
Texas A&M University

On Wed, 22 Sep 2004, Gerald Richter wrote:

> > 
> > I haven't seen a comment on Teeing the output. Is it possible 
> > to send the output of a file, while it's also sent to the 
> > browser? (Like output buffering then teeing?)
> > 
> 
> It does not work out of the box, but you can create a small mod_perl handler
> (or cgi) that basicly calls Execute, put the result in a scalar and the
> print to a file and to the browser, something like
> 
> #caclulate file from request and put it in $fn, then
> 
> Embperl::Execute({inputfile => $fn, output => \$out}) ;
> 
> open FH, ....
> print FH $out ;
> close FH ;
> 
> # Print http header here
> print $out ;
> 
> Hope this helps
> 
> Gerald
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to