Re: user tracking

From: Date: Tue, 06 Jul 2004 15:04:43 +0000
Subject: Re: user tracking
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-189818@lists.php.net to get a copy of this message
I've been writing LAMP applications for awhile; the option to write a tracking system myself is always viable.. but since I am extraordinarily lazy, I am looking for a general package that I could modify. What I really wanted was anyone's feedback or recommendations on tracking packages currently available. Christian "Michael Gale" <michael.gale@utilitran.com> wrote in message news:20040706134145.30c4effa@mgalepc.utilitran.com... > > What type of tracking ? ... number of hits ? pages visited by # of times ?? > > If you use sessions ... which I am assuming you are. You could create a table: > > user-id,page,times > > Then when you do the session check you could update: > > INSET INTO webwatch_table SET user-id='" . $_SESSSION['userid'] . > "', page='" . $_SERVER["REQUEST_URI"] . "', time='" > ... > > and somehow increment the "times" column ... > > Mysql has a INSERT / UPDATE combo command .. which may help. > > Michael > > > On Tue, 6 Jul 2004 12:15:06 +0100 > "Christian Calloway" <callowaylc@yahoo.com> wrote: > > > Hey everybody, > > > > I am looking for some type of user tracking/stat collecting package. I am > > sure there's a million; any recommendations? We have some specific needs as > > well, so mostly likely I will be have to make some code changes. So the > > simpler package the better. > > > > Christian > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > > > > -- > Michael Gale > Network Administrator > Utilitran Corporation

« previous php.general (#189818) next »