GUIDE FOR findstats.php This guide will guide you through using this file as an API (Applied Problematic Interface) to access the statistics of 2nqpz5. Before you start, you must prepare yourself. Statistically, handling statistics have always been difficult. In all ages wise men have always feared the power of statistics, and even today it is not uncommon to have a statphobia. This "program" takes input and writes output. Input is written in the browser's address line after a question mark, and output is written on the screen automagically. To summarize: This is input: --> http://metanohi.org/statistics/findstats.php?INPUT This is output: --> This is output. The input is a filter, and the output the amount of visits to 2nqpz5 that make it through that filter. The syntax is quite simple and easy to learn. One can specify an amount of names grouped with an amount of values. --> browser-name:Firefox,os-group:free Specifying the above as input will filter visits that did not use Firefox as their browser and/or used a free (as in freedom) operating system. Just writing the above string after a question mark will however not work. One must specify whether a specific visitor must have used both Firefox and a free system, or just one of them. In findstats.php that is defined as AND and OR. Try writing the following in the address bar after a '?': --> and=browser-group:open;date-year:2009&or=os-group:proprietary;date-month:6 You'll see that it filters with a variation of ANDS and ORS. ANDS: The browser must be open source, and the year must be 2009. ORS: The operating system must be proprietary, or the month must be June. It is also possible to specify several values to one name: --> browser-name:Opera,Google Chrome If entered in OR mode, this will allow both Opera users and Google Chrome users in the final results. If entered in AND mode, it will fail. After all, no browser has two names. --> browser-group:open,Firefox This'll not fail in AND mode, as a browser group can have more than one entry. ***** It's important to note that even when specifying an OR part, the AND part must be entirely true too. It's not ( AND ) OR OR , but AND AND ( OR ). ***** findstats.php has no NOT part. There are 21 names that can be used to filter: ----------------------------------------------- page: the page the visitor visited (e.g. 'writings/') date-year: the year of the visit date-month: the month of the visit date-day: the day of the visit date-weekday: the weekday of the visit date-week: the week of the visit date-hour: the hour of the visit browser-name: the name of the visitor's browser browser-version: the version of the visitors' browser browser-version-x: the approx. version of the visitors' browser (e.g. '3.x') browser-group: the group(s) of the visitor's browser browser-engine: the engine of the visitor's browser (e.g. Gecko) browser-resolution: the resolution of the visitor's browser window os-name: the name of the visitor's operating system os-version: the version of the visitor's operating system os-version-x: the approx. version of the visitors' os os-group: the group(s) of the visitor's os os-resolution: the resolution of the visitor's operating system language: the language(s) in use language-code: the language code(s) in use location: the country of the visitor One can use any value, though using random values would be a bad idea. To see what browsers, operating systems etc. that are listed, check out the getstats.php source code in codeVijuv. It contains long lists of everything. There are however only a few groups. See below. Browser groups (browser-group): free: it's free software open: it's open source (if something is free, it's almost always also classified as open source) non-free: evil stuff Firefox: based on Firefox micro: mini browser W3C: standards browser Operating system groups (os-group): free: it's free software open: it's open source (if something is free, it's almost always also classified as open source) non-free: evil stuff GNU/Linux: GNU/Linux distro BSD: *BSD os gaming: browser on a gaming console More examples -------------- ?and=os-version-x:8.x;date-hour:6&or=browser-engine:WebKit;language-code:en,da ?or=os-group:GNU/Linux,gaming;location:Denmark&s=s ?and=language:Dutch (Netherlands);os-name:Mac ?and=date-day:14;date-month:3 The output lists the specified ANDS and ORS together with the result. If all you want is '/', specify '&s=s' somewhere in the address line after the question mark (or you can specify '&s=sdgsdg' if you want to -- just something). This message is only shown when no input is entered.