in reply to Re: pulling by regex in thread pulling by regex
On reflection, that's a good idea, using MySQL. But wouldn't it waste time overwriting the same database each time the script is called, since there would be no point in keeping the old data?
As I would envision this, translate to a date string plus the referrer and send them both to MySQL in two fields. Then process the input from the web page and use that information to pull from the database. What do you think?
RRe: pulling by regex
by Abigail-II (Bishop) on Dec 16, 2002 at 11:51 UTC
|
I think dumping the information of the log into a database
each time the script is run is pretty stupid, and defeating
the benefits. What's in the database is in the database, and
doesn't have to be inserted again. Just dump the new
logs to a database on a regular basis.
Abigail | [reply] |
|