Location: PHPKode > scripts > HTTP Locale > http-locale/index.php
<?
include "HTTPLocale.class.php";
$locale = new HTTPLocale();
?>
<html>
  <head>
    <title>HTTPLocale usage example</title>
  </head>
  
  <body>
    Your browser language is <?=$locale->language?><br/>
    Your browser country is <?=( empty($locale->country) ?  '[not defined]' : $locale->country );?> <hr/>
  </body>
</html>
Return current item: HTTP Locale