Im wondering if anyone has any ideas on how to mimic the unix 'tail -f' command using PHP (or something) on a webpage?
You'd have to reload the page every so often using javascript (set a timeout) or a meta refresh tag.
Get the output from your command, store it in an array, and display the last N rows.
Yea - been working down that path, but i really want the data to display as the file changes and to scroll rather than reload... its very hard to read when it refreshes - thus kind of killing what the function is for in the first place... Any suggestions are welcome. A java appelt maybe?
AJAX perhaps?
Also: SAJAX