如果是在客户端可以用
navigator.browserLanguage
来获得语言类型。

解决方案 »

  1.   

    Js:
    <script>
    alert(window.navigator.systemLanguage);
    </script>
      

  2.   

    <script>
    obj=navigator
    for(ob in obj)document.write(ob,"=",obj[ob],"<br>");
    </script>
    可惜里面没有browserLanguage
      

  3.   

    appCodeName
      Retrieves the code name of the browser. appMinorVersion
      Retrieves the application's minor version value. appName
      Retrieves the name of the browser. appVersion
      Retrieves the platform and version of the browser. browserLanguage
      Retrieves the current browser language. cookieEnabled
      Retrieves whether client-side cookies are enabled in the browser. cpuClass
      Retrieves a string denoting the CPU class. onLine
      Retrieves whether the system is in global offline mode. platform
      Retrieves the name of the user's operating system. systemLanguage
      Retrieves the default language used by the system. userAgent
      Retrieves a string equivalent to the HTTP user-agent request header. userLanguage
      Retrieves the current user language. userProfile
      Provides methods that allow a script to request read access to and perform read actions on a user's profile information. 
      

  4.   

    php.ini中有关闭出错信息的设置你可以到php.ini中看一下.
    如果你确定那个是错的话.呵呵.