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?
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?