View Full Version : Want To Make This Page
03-19-2007, 11:22 AM
I really like all the info that's on this page, anyone know how it would be done? It must link to the stats in a common way that every body could set up for their site surely? Anyone? http://www.w3schools.com/browsers/browsers_stats.asp
03-21-2007, 03:50 PM
Hmm... i don't know if i understood you correctly. do you want to place those statistics on your website or something like that ?
03-21-2007, 04:07 PM
That will require server-side scripting, and most likely a database.
PHP/MySql (database) Tutorial:
It's not an easy task... It may not even be possible with PHP, as the page given is done with ASP (note the .asp extension). As mentioned before in these forums, there is no "single" script for these tasks.
03-21-2007, 04:15 PM
Oh i get it now. You can collect that type of information very easily using server -side language like PHP. you could store all the data in a database such as MySQL and then tabulate them in tables for everyone to see. I could help you on this. Just let me know if your hosting provider supports PHP and MySQL.
03-21-2007, 04:39 PM
The OS detection may be a bit hard though...
03-21-2007, 04:52 PM
03-21-2007, 04:53 PM
Use JS to do the OS and screen resolution detection, then send that info to a PHP script to store it in the database. Not so hard.
03-21-2007, 05:19 PM
Os can't be determined by the User-Agent header forwarded by the browsers. :p
A sample User-Agent header:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.6 (like Gecko)See that "Linux?" That's my OS. The browser needn't always report the OS (correctly or at all) in the User-Agent or any client-side mechanism you might devise, hence the unreliability of the data.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.