diff options
Diffstat (limited to 'en/downloads/debug/index.php')
-rw-r--r-- | en/downloads/debug/index.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/en/downloads/debug/index.php b/en/downloads/debug/index.php index c93ddfaeb..00ba3b39b 100644 --- a/en/downloads/debug/index.php +++ b/en/downloads/debug/index.php @@ -24,13 +24,21 @@ foreach ($functions as $f) { echo sprintf('<li>%s: %s available</li>', $f, function_exists($f) ? 'is' : 'is not'); } +echo '<li>DB version: ', geoip_database_info(), '</li>'; + echo '</ul>'; echo '<h3>Testing IP, country, continent</h3>'; foreach ($ips as $label => $ip) { echo ' * ', $label, ': ', $ip, ' => '; echo geoip_country_code_by_name($ip), ', '; - echo geoip_continent_code_by_name($ip), "\n"; + echo geoip_continent_code_by_name($ip), ', '; + echo geoip_record_by_name($ip), ', '; + echo geoip_id_by_name($ip), ', '; // GEOIP_UNKNOWN_SPEED GEOIP_DIALUP_SPEED GEOIP_CABLEDSL_SPEED GEOIP_CORPORATE_SPEED + echo geoip_isp_by_name($ip), ', '; + echo geoip_org_by_name($ip), ', '; + echo implode(', ', geoip_record_by_name($ip)); + echo "\n"; } echo '----</pre></body></html>'; |