PHP Ajax Tail Implimentaion






A while back I linked to a demo of a script I wrote implementing the unix command tail (Like for watching the data being appended to a file), so I could tail a log file. I finally got around to posting the source code.
You’ll need saja the secure ajax for PHP framework and my saja.functions.php file as well as the actual output page, tail.php.
As with most of my code its icky and hackish, but it works. For me at least.

If you liked this post, don't forget to subscribe to my RSS feed or my email newsletter so you never miss the science.

{ 3 comments }

Joe September 27, 2007 at 10:01 am

Hi Dan,

This looks like it would be great! The links to your source code are broken. Can you repost?

Thanks!

Joe

Aaron Calderon January 8, 2009 at 10:40 pm

Hi Dan,

Same thing here, links are down. Please repost.

AC

Odair Beraldo Nunes June 28, 2009 at 3:49 pm

Hi Dan,

Same thing here, links are down. Please repost. [2]