Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Re: pulling by regex

by mkent (Acolyte)
on Dec 15, 2002 at 21:01 UTC ( [id://220049]=note: print w/replies, xml ) Need Help??

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?

Replies are listed 'Best First'.
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.


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://220049]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 03:44 GMT
Find Nodes?
    Voting Booth?

    No recent polls found