Re: [PHP] Write a FIFO file

2005-12-20 Thread Robin Vickery
On 12/20/05, Ruben Rubio Rey <[EMAIL PROTECTED]> wrote: > Robin Vickery wrote: > > >I bet your script will finish as soon as you read from the other end - > >for example by doing 'cat fifo' from a shell. > > > Thats it. > I would like to use fifo, but thats a problem. If there is not process > read

Re: [PHP] Write a FIFO file

2005-12-20 Thread Ray Hauge
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 th

Re: [PHP] Write a FIFO file

2005-12-20 Thread Robin Vickery
On 12/20/05, Ruben Rubio Rey <[EMAIL PROTECTED]> 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 t

Re: [PHP] Write a FIFO file

2005-12-20 Thread Ruben Rubio Rey
Ok, I tried it before, it didn't work: For example, fifo file created as root: mkfifo fifo chmod 777 fifo Try to execute it and execution never ends... browser is waiting for ever ... No errors in error php error log. Any ideas? Jay Blanchard wrote: [snip] I have a problem. I have creat

RE: [PHP] Write a FIFO file

2005-12-19 Thread Jay Blanchard
[snip] I have a problem. I have created a fifo file (under linux) and I m not able to append some line from a php script. There is not output error, php just is executing for ever ... How can I write a fifo file? [/snip] Please have a look here; http://www.php.net/file as a starting point for