Mercurial > hg > ywww
comparison geoiptest.php @ 16:093e42d5a874
minor tidy-ups on new-server install
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Thu, 20 Apr 2017 18:15:34 -0400 |
| parents | 077b0a0a3e6d |
| children | 7679346abfdb |
comparison
equal
deleted
inserted
replaced
| 13:b78209a5fba1 | 16:093e42d5a874 |
|---|---|
| 1 <html> | 1 <html> |
| 2 <body> | 2 <body> |
| 3 <?php | 3 <?php |
| 4 $country_name = apache_note("GEOIP_COUNTRY_NAME"); | 4 $country_name = $_SERVER["GEOIP_COUNTRY_NAME"]; |
| 5 print "Country: " . $country_name; | 5 print "Country: " . $country_name; |
| 6 ?> | 6 ?> |
| 7 </body> | 7 </body> |
| 8 </html> | 8 </html> |
