Thanks for your reply Tom,
I'm really new to php, from your reply, I'm wondering if it is bad programming to have a script continusly running with sleep() commands in it?
Because this file will be opened/closed many times and content being added to the tail (by an outside program), I need to keep track where in the file I was last, so when I reopen, I can seek to that part (i.e. store linenumbers?). What's the most efficient way to do this?
thanks again.