Mercurial > hg > ywww
comparison geoiptest.php @ 40:77ff181476b8
geoip fix?, better debugging
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Sun, 30 Jul 2017 05:36:07 -0400 |
| parents | 077b0a0a3e6d |
| children | 7679346abfdb |
comparison
equal
deleted
inserted
replaced
| 13:b78209a5fba1 | 40:77ff181476b8 |
|---|---|
| 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> |
