stats.php: added support for GET