php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #87 Rerouting of standard output
Submitted: 1998-02-19 17:43 UTC Modified: 1999-06-12 16:30 UTC
From: john at jfisher dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0b4 OS: Linux
Private report: No CVE-ID: None
 [1998-02-19 17:43 UTC] john at jfisher dot com
Is there any way to re-route the standard output of a PHP script to a file, especially temporarly? I have a page that generates a custom report, and it would be extremely helpful to be able to call the page from inside an 'include' statement of another page, and reroute the generated report to disk, effectively saving a snapshot of the report.

I think what I'm asking for is the 'select' function in perl. Is this a feature that might be added, or am I missing
an existing feature?

Thanks,
John Fisher

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-12 16:30 UTC] jim at cvs dot php dot net
Added in PHP4.
 [1999-06-12 16:30 UTC] jim at cvs dot php dot net
Whoops, forgot to close.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 14:01:30 2024 UTC