Re: Redirecting output to a file instead of stdout?

Bob Doan <[email protected]> Mon, 18 Feb 2008 13:03:45 -0500
Newsgroups gmane.text.rlib.user
Message-ID <[email protected]>
Hello,

That feature never got implemented, so the easiest thing to do is use
php output buffering

http://us.php.net/outcontrol

- Bob

On Mon, 2008-02-18 at 12:58 -0500, Walter Streeter wrote:
> Hello,
> 
> I'm using PHP, MySQL and RLIB for several reporting tasks. I've got RLIB working nicely but I've come to a point where it'd be real nice to have the RLIB output go directly to a file instead of stdout. I've searched the rlib-users mail list archives and have found the following items but none of them work for me. Is there a way to have RLIB output go to a file instead of stdout?
> 
> One archive item mentions the following:
>   rlib_save_file_as($r, "name.ext");
> 
> Another archive item mentions the following:
>   rlib_get_output
>   rlib_get_output_length
> 
> I receive the following errors when trying to use any of the above to try and send output to a file instead of stdout.
> 
>   Fatal error: Call to undefined function:  rlib_save_file_as() in blahblahblah
> 
> Any help in getting output to file instead of stdout within a PHP script would be greatly appreciated.
> 
> Thanks,
> 
> --
> Walter Streeter
> CCNA, CCDA, CEFDS
> MapleData
> 2116 W Wilden Ave
> P.O. Box 136
> Goshen, IN  46527-0136
> 574.537.0253  x146
> [email protected]
> http://www.mapledata.net
> 
>         _/\_
>       __\  /__
>      <_      _>
>        |/ )\|
>          /
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Rlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rlib-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/