note 41243 added to function.fopen
| From: | php at gotdoof dot com | Date: | Sun, 04 Apr 2004 01:19:52 +0000 |
| Subject: | note 41243 added to function.fopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-67596@lists.php.net to get a copy of this message | ||
Note that opening a fifo with fopen() will block the php process until data is sent to it. That
means any function you have registered as a shutdown function (register_shutdown_function()) will
not be called when the user disconnects, and the process will keep running in the background,
waiting for input. I know of no way around this, besides using some other means of IPC.
----
Manual Page -- http://www.php.net/manual/en/function.fopen.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41243
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41243&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41243&report=yes
Search -- http://master.php.net/manage/user-notes.php