In response to
"read a last updated timestamp from somewhere (first line of that file or from a separate file)"
by
zork
|
Humor me while I think this out...
|
I have a record in a database with a lastmodified() field. Every time I modified the record, this value changes. In the AJAX code, I have a $last and $new_last variable. If they don't match, then reload the DIV second, then $last is assigned the value of $new_last. And then don't reload again until $last and $new_last don't match again... Now, all I need is a database.
|