Re: Write a FIFO file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm not sure, but it could have something to do with append mode instead of write mode. All I know about FIFO files and named pipes is that you cannot open them for read and write, only one or the other. The file system could detect append as "reading" when it's positioning your pointer at the end of the file.

Robin Vickery wrote:

On 12/20/05, Ruben Rubio Rey <ruben@xxxxxxxxxxxx> wrote:
Ok, I tried it before, it didn't work:

[...]

Try to execute it and execution never ends... browser is waiting for
ever ...
No errors in error php error log.

Any ideas?

I bet your script will finish as soon as you read from the other end -
for example by doing 'cat fifo' from a shell.

-robin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux