view geoiptest.php @ 21:46382face560

use a semaphore to try to cut down on RequestThrottled fails
author Charlie Root
date Thu, 25 Oct 2018 09:42:12 -0400
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>