|
总是错误提示:
undefined index http accept language
————config.php
$config[‘language’] = ‘english’;
————head
meta name=“language” content=“english”
————Test
if ($_SERVER[‘HTTP_ACCEPT_LANGUAGE’]; ) echo $_SERVER[‘HTTP_ACCEPT_LANGUAGE’];
else echo “empty”;
// output: empty
问题在哪?
|
|