note 18527 deleted from function.fopen by sander

From: Date: Sun, 07 Apr 2002 11:16:16 +0000
Subject: note 18527 deleted from function.fopen by sander
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-28835@lists.php.net to get a copy of this message
In PHP 4.0.6 and 4.0.4pl1 you can only call once this funcion in your script: fopen("php://stdin", "r"); This code will generate an error if you run it in apache or as a script in a shell: $fp = fopen("php://stdin", "r"); fclose($fp); $fp = fopen("php://stdin", "r"); fclose($fp);

« previous php.notes (#28835) next »