note 18527 added to function.fopen
| From: | oliver at samera dot com dot py | Date: | Sat, 26 Jan 2002 13:39:59 +0000 |
| Subject: | note 18527 added to function.fopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-25846@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);
--
http://www.php.net/manual/en/function.fopen.php
http://master.php.net/manage/user-notes.php?action=edit+18527
http://master.php.net/manage/user-notes.php?action=delete+18527
http://master.php.net/manage/user-notes.php?action=reject+18527