Using language packs in php,
- WBOYOriginal
- 2016-08-26 10:12:451690browse
In Controller:
Determine which language the user clicked
if(isset($_GET['version'])){
$version = $_GET['version'];
setcookie("version",$version,time()+(3600*24),"/");
}
. Just judge the cookie value in the previous paragraph:
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn