view geoiptest.php @ 40:77ff181476b8

geoip fix?, better debugging
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Sun, 30 Jul 2017 05:36:07 -0400
parents 077b0a0a3e6d
children 7679346abfdb
line wrap: on
line source

<html>
<body>
<?php
$country_name = $_SERVER["GEOIP_COUNTRY_NAME"];
print "Country: " . $country_name;
?>
</body>
</html>