That's done it Mark!
Your code, with the settings below, made it work:
Code: Select all
// The name of your realtime.txt log file
$logfile = 'realtime.log';
// The various delimiters used in your version of realtime.txt
$field_delimiter = ' ';
$date_delimiter = '-';
$time_delimiter = ':';
$date_format = 'ymd'; // valid formats are 'dmy', 'mdy', and 'ymd'
Part of what was throwing me was the "The various delimiters used in your version of realtime.txt" line.
I believe that should read, at least in my case, "The various delimiters used in your version of realtime.
log" because the delimiters in my realtime.txt and realtime.log files are not the same.
In any case, it would not have worked without the addition of your "$date_format = " snippet.
BTW, I do have MySql on my Linux box and would much prefer to have the capability to pull near-realtime and historical data from there. I know how to get the data into the db, I just don't know how to get it out. SO, if you happen to have some old code laying around that you aren't using...
Thanks so much...again!
--Kurt