view geoiptest.php @ 18:c41a5802b26c

better debugging
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Sun, 30 Jul 2017 05:34:46 -0400
parents 093e42d5a874
children 7679346abfdb
line wrap: on
line source

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