Re: user tracking
| From: | Michael Gale | Date: | Tue, 06 Jul 2004 19:41:45 +0000 |
| Subject: | Re: user tracking | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189815@lists.php.net to get a copy of this message | ||
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