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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

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: Thu Apr 25 14:01:31 2024 UTC