You are here: Re: [PHP] Write a FIFO file « PHP « IT news, forums, messages
Re: [PHP] Write a FIFO file

Posted by Ray Hauge on 12/20/05 17:59

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@rentalia.com> 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
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация