I've been thumbing through here for a while and can't find exactly what I want. Though, I have made quick progress from one post that gave me the code (slight modified) below. Basically, what I want to do is similar to the "tail -f" unix command. The following does this:
$returnString = system("tail -f ./temp.txt");
Although, it doesn't format a text file properly. Minor annoyance as I seem to recall a way around that. I guess my question is, is this the best way to go about doing this? Is there already a function or something that will do this for me? (I didn't see one, but may have searched for the wrong thing).
Thanks.