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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: john at jfisher dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sun Oct 13 15:01:29 2024 UTC