note 38496 added to function.proc-open
| From: | MagicalTuxatFF dot ST at rn2 dot php dot net | Date: | Wed, 24 Dec 2003 09:20:04 +0000 |
| Subject: | note 38496 added to function.proc-open | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-62404@lists.php.net to get a copy of this message | ||
Note that if you need to be "interactive" with the user *and* the opened application, you
can use stream_select to see if something is waiting on the other side of the pipe.
Stream functions can be used on pipes like :
- pipes from popen, proc_open
- pipes from fopen('php://stdin') (or stdout)
- sockets (unix or tcp/udp)
- many other things probably but the most important is here
More informations about streams (you'll find many useful functions there) :
http://www.php.net/manual/en/ref.stream.php
----
Manual Page -- http://www.php.net/manual/en/function.proc-open.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38496
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38496&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38496&report=yes
Search -- http://master.php.net/manage/user-notes.php