|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6921 php://stdout not working with https
Submitted: 2000-09-28 04:34 UTC Modified: 2001-06-02 23:53 UTC
From: saki at gap dot cz Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.0.2 OS: RedHat 6.2
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.
Bug Type:
From: saki at gap dot cz
New email:
PHP Version: OS:


 [2000-09-28 04:34 UTC] saki at gap dot cz
$fp = fopen($dfn, "w");
$i = fputs($fp, "TEST");
$j = fclose($fp);

works when accessed via http,
stops to work via https - no output is given

Apache 1.3.12 plus mod_ssl 2.6.4  as module,
php as module,
php using modules sybase-ct, pdflib, dom, xml, wddx


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-28 04:47 UTC] saki at gap dot cz
PS: If write to some temp file and then do
  $fp = fopen($tempname, "r"); 

it's working even for https client request - so fpassthru function works, but not
 fopen("php://stdout","w") (I'd also tried "w+", "a", "a+")


 [2001-06-02 23:53 UTC]
Works for me just fine with PHP 4.0.6RC2:


PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Mon Dec 17 10:01:25 2018 UTC