Re: [PHP] stream_select() not working on regular files?

2010-02-04 Thread Dennis J.
On 02/04/2010 06:18 AM, Eric Lee wrote: On Thu, Feb 4, 2010 at 9:20 AM, Dennis J.denni...@conversis.de wrote: On 02/04/2010 02:03 AM, Ashley Sheridan wrote: On Thu, 2010-02-04 at 01:41 +0100, Dennis J. wrote: Hi, I'm trying to implement something similar totail -f in php but I'm running

[PHP] stream_select() not working on regular files?

2010-02-03 Thread Dennis J.
Hi, I'm trying to implement something similar to tail -f in php but I'm running into a problem. The issue occurs when I've reached the end of the file. From here I basically have to loop until new lines get appended to the file but I would like to respond immediately when then happens. There

Re: [PHP] stream_select() not working on regular files?

2010-02-03 Thread Dennis J.
On 02/04/2010 02:03 AM, Ashley Sheridan wrote: On Thu, 2010-02-04 at 01:41 +0100, Dennis J. wrote: Hi, I'm trying to implement something similar totail -f in php but I'm running into a problem. The issue occurs when I've reached the end of the file. From here I basically have to loop until new