#20127 [Opn->Bgs]: writing to stdin produces no output

From: Date: Mon, 28 Oct 2002 03:55:32 +0000
Subject: #20127 [Opn->Bgs]: writing to stdin produces no output
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-23522@lists.php.net to get a copy of this message
ID: 20127 Updated by: iliaa@php.net Reported By: shane@caraveo.com -Status: Open +Status: Bogus Bug Type: Output Control Operating System: win2k PHP Version: 4CVS-2002-10-27 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. writing should be done to stdout or stderr, stdin is for reading only. Previous Comments: ------------------------------------------------------------------------ [2002-10-27 18:47:18] shane@caraveo.com the following produces no output in windows. $fp = fopen("php://stdin", "r+"); fwrite($fp, "Some tests have failed, would you like to send the\nreport to PHP's QA team? [Yn]: "); fflush($fp); $user_input = fgets($fp, 10); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20127&edit=1

« previous php.bugs (#23522) next »