This will work except for those browsers with javascript turned off -
I've seen php examples of how to do this in books, (capture the user
agent anyway, then once captured - just plop it in the db) there should
be some on line somewhere.   

Also if you have access to the web server, I think most web server stat
programs allow for this.  The one we use is http://www.analog.cx/ and we
have it configured to capture user agents.

<mignon>

On Thu, 2003-03-06 at 08:58, Matthew Moldvan wrote:
> I would say use JavaScript to gather the information (screen resolution,
> browser info, etc) and then store it in a MySQL or similar DB using PHP.  Do
> a search for JavaScript and PHP variables to find out how (it involves
> populating hidden fields with JS and passing to PHP Scripts AFAIK) ... that
> should get you started, at least. :)
> 
> Good luck, and for curiosities sake let me know how the project turns out.
> 
> Regards,
>     Matthew Moldvan
> 
> ---------------------------------------
>  System Administrator
>  Trilogy International, Inc
>   http://www.trilogyintl.com/ecommerce/
> --------------------------------------- 
> 
> 
> -----Original Message-----
> From: Bruce Levick [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 6:26 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] Storing browser stats
> 
> 
> Is there a method for storing each users browser stats within a database
> table.
> 
> So everytime someone visits the browser info is gathered and stored as a
> unique row in the 'browser' table in the database.
> 
> Any advice??
> 
> Cheers
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
-- 
Mignon Hunter
Web Developer
Toshiba International
713.466.0277 x 3461


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

Reply via email to