Mercurial > hg > ywww
annotate 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 |
rev | line source |
---|---|
6
077b0a0a3e6d
remaining originals according to dependency walk
Robert Boland <robert@markup.co.uk>
parents:
diff
changeset
|
1 <html> |
077b0a0a3e6d
remaining originals according to dependency walk
Robert Boland <robert@markup.co.uk>
parents:
diff
changeset
|
2 <body> |
077b0a0a3e6d
remaining originals according to dependency walk
Robert Boland <robert@markup.co.uk>
parents:
diff
changeset
|
3 <?php |
16
093e42d5a874
minor tidy-ups on new-server install
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
6
diff
changeset
|
4 $country_name = $_SERVER["GEOIP_COUNTRY_NAME"]; |
20 | 5 $country_code = $_SERVER["GEOIP_COUNTRY_CODE"]; |
6 print "Country: $country_name , code: $country_code"; | |
6
077b0a0a3e6d
remaining originals according to dependency walk
Robert Boland <robert@markup.co.uk>
parents:
diff
changeset
|
7 ?> |
077b0a0a3e6d
remaining originals according to dependency walk
Robert Boland <robert@markup.co.uk>
parents:
diff
changeset
|
8 </body> |
077b0a0a3e6d
remaining originals according to dependency walk
Robert Boland <robert@markup.co.uk>
parents:
diff
changeset
|
9 </html> |