in reply to tracking unique users in a weblog

To see if we are dealing with a newer file, I would check the creation date of the file, which I can get on my Windows XP with scalar localtime((stat 'myfile')[10]).

Of course I'm assuming that

  1. the log-rotate function makes a new file with a new creation date and
  2. your file system allows you to check the creation date of the file.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law