RE: [PHP] A MYSQL COUNTER

From: Date: Tue, 12 Feb 2002 14:35:32 +0000
Subject: RE: [PHP] A MYSQL COUNTER
Groups: php.general 
Request: Send a blank email to php-general+get-84389@lists.php.net to get a copy of this message
The question you must answer first: what do you intend to do with the data once it's collected? Will you simply review the data without sorting it or performing data manipulation? If so, why incur the overhead of MYSQL? If all you need to do is log the user page hits, use a text file; then use grep/awk/sed/perl/php to search for specific users with their page hits, etc. Define your requirements more explicitly, then choose a solution. -----Original Message----- From: Matthew Walker [mailto:mwalker@mountaintopherbs.com] Sent: Monday, February 11, 2002 6:39 PM To: Georgie Casey; php-general@lists.php.net Subject: RE: [PHP] A MYSQL COUNTER This is too much for a text file. You should definitely use MySQL for this. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -----Original Message----- From: Georgie Casey [mailto:webmaster@filmfind.tv] Sent: Monday, February 11, 2002 3:22 PM To: php-general@lists.php.net Subject: [PHP] A MYSQL COUNTER I need a way of tracking what user was logged in when vieweing a particular member page, so I'm thinking of having EVERY unique page view of each member page added to a MySQL database, which just the ip, time and date, server name and browser, stuff like that. Is this too much for a MySQL DB??? Should I just write all the info to a textfile??? TANX -- Regards, Georgie Casey webmaster@filmfind.tv *************************** http://www.filmfind.tv Ireland's Online Film Production Directory *************************** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.323 / Virus Database: 180 - Release Date: 2/8/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.323 / Virus Database: 180 - Release Date: 2/8/2002 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#84389) next »