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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
23 - 12 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Sat Apr 20 14:01:29 2024 UTC