Redirecting output to a file instead of stdout?
Walter Streeter <[email protected]> Mon, 18 Feb 2008 12:58:41 -0500
| Newsgroups | gmane.text.rlib.user |
|---|---|
| Message-ID | <045948322CC2F74E9AB020CA7DB900CA02D2116BD3@mt2.internal.mapletronics.com> |
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/