ID: 26271 Updated by: [EMAIL PROTECTED] Reported By: tipton at shsu dot edu -Status: Open +Status: Bogus Bug Type: Filesystem function related Operating System: Fedora Core 1 PHP Version: 4.3.3 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php You should be using popen() and/or proc_open() to work with pipes. Previous Comments: ------------------------------------------------------------------------ [2003-11-16 02:11:00] tipton at shsu dot edu Description: ------------ wrote a script to test with following the order: create pipe, open pipe for writing, write to pipe, close pipe. with another script to open the pipe, read from the pipe, close the pipe, unlink the pipe. the writer script hangs on the fopen() unless it's mode is 'w+', the reader script hangs on the fopen() regardless of mode. i accept that it may be something i am doing wrong, but i can find no documentation anywhere dealing with pipes in PHP. Reproduce code: --------------- writer - http://piplipton.homelinux.org/socket/test.txt reader - http://piplipton.homelinux.org/socket/test2.txt substitute .php for .txt in the above links to run the actual scripts. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26271&edit=1
