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" <[EMAIL PROTECTED]> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to