php.net |  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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: saki at gap dot cz
New email:
PHP Version: OS:

 

 [2000-09-28 04:34 UTC] saki at gap dot cz
$dfn="php://stdout";
$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

Patches

Pull Requests

History

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"); 
  fpassthru($fp); 
  @fclose($fp); 

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] sniper@php.net
Works for me just fine with PHP 4.0.6RC2:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

-Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 02 18:01:31 2024 UTC