Click to See Complete Forum and Search --> : which is the best way to store data in sql


moogle
07-20-2007, 09:04 AM
i have a script that parses browser headers out to find out stuff like your os, browser version browser name etc, i want to make it into a logging script into mysql. the thing is how should i get it to store data. it only gets the browser header and ip, but from those 2 variables it can get info such as
OS, OS Version, Browser Name, Browser Version and the users Country. Now what would be faster. If i store the browser header and ip in a mysql database then when i use my script to view the logs, it will parse the info into the above, so the table will only have browser header and ip, or should i have it store all the above info and just get the script to read directly from the database. which method would be better?

moogle
07-23-2007, 06:05 PM
okayyy... i guess someone can delete this seeing as its so dead in here.

bubbisthedog
07-24-2007, 04:36 PM
Put it all in a database and query from it. Happy?