view geoiptest.php @ 19:84a412b8122c

try to protect against a range of missing info
author Charlie Root
date Thu, 30 Aug 2018 17:18:12 -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>