<?php
$country_chk1 = $_SERVER['HTTP_USER_AGENT'];
$country_chk2 = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
$country_chk3 = $_SERVER['HTTP_ACCEPT_CHARSET'];

echo 'This host is located in(HTTP_USER_AGENT): ' . $country_chk1;
echo "<BR>";
echo 'This host is located in(HTTP_ACCEPT_LANGUAGE): ' . $country_chk2;
echo "<BR>";
echo 'This host is located in(HTTP_ACCEPT_CHARSET): ' . $country_chk3;

?>

window 7 / explorer 8 / utf8 /
apaceh 2.0.59 / php 4.4.7 / mysql 5.0.27


This host is located in(HTTP_USER_AGENT): Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0; InfoPath.2)
This host is located in(HTTP_ACCEPT_LANGUAGE): ko-KR
This host is located in(HTTP_ACCEPT_CHARSET):