view geoiptest.php @ 23:d606320ec331

post-5.7-upgrade efforts to reduce dropped connections, db insertion fails
author Charlie Root
date Sun, 30 Dec 2018 07:00:09 -0500
parents 7679346abfdb
children 1bb0bc3d306a
line wrap: on
line source

<html>
<body>
<?php
$country_name = $_SERVER["GEOIP_COUNTRY_NAME"];
$country_code = $_SERVER["GEOIP_COUNTRY_CODE"];
print "Country: $country_name , code: $country_code";
?>
</body>
</html>