How to use PHP to determine the language of the client browser

xiaoxiao2021-03-06  56

How to use PHP to determine the language of the client browser

2004-02-24 15

IF ($ http_accept_language == "en-cn") {

$ c_lang = "gb";

}

IF ($ http_accept_language == "zh-TW") {

$ C_LANG = "BIG5";

}

转载请注明原文地址:https://www.9cbs.com/read-111739.html

New Post(0)