|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-07-14 13:49 UTC] darrell at brogdon dot net
I have a simple script (source can be seen at http://www.phpbuilder.com/columns/darrell20000319.php3?page=4) that works when I test it with version 4.0RC1 but not with 4.0.1pl2. When I execute this script it just sits there. I'm not prompted with the text from the 'print()' function or anything. I've noticed similar problems with fsockopen(). PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 06:00:01 2026 UTC |
It seems to be related to the fopen 'SIZE' parameter. If I set it to something like 128 or 8 I get the following after entering text: <b>Warning</b>: fopen("php://stdin","r") - Bad file descriptor in <b>./shell_test.php</b> on line <b>12</b><br> <br> <b>Warning</b>: Supplied argument is not a valid File-Handle resource in <b>./shell_test.php</b> on line <b>13</b><br> <br> <b>Warning</b>: Supplied argument is not a valid File-Handle resource in <b>./shell_test.php</b> on line <b>14</b><br>