|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-11-22 10:56 UTC] daniel at rozsnyo dot com
[2009-11-22 16:44 UTC] jani@php.net
[2009-11-22 22:12 UTC] daniel at rozsnyo dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 09 04:00:01 2025 UTC |
Description: ------------ My postfix filter scripts written in PHP stopped working after an upgrade to php-5.2.11, the issue can be tracked down to PHP with a simplified script. Reproduce code: --------------- Create a postfix policy filter, it is enough to create a simple get and store script like this: <?php $fd = STDIN; $rq = ''; while(!feof($fd)) $rq .= fgets($fd,1024); file_put_contents('/tmp/req',$rq); ?> Expected result: ---------------- I expect the /tmp/req file to be filled with postfix's request attributes (attrib=value pairs). Actual result: -------------- With 5.2.11: The file is empty. With 5.2.10: The file is OK, filled with attributes.