|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 17 09:00:01 2025 UTC |
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+")