标签:
<?php $lang = substr($_SERVER[‘HTTP_ACCEPT_LANGUAGE‘],0,2); if (!empty($_GET[‘comeid‘])) $comeid = $_GET[‘comeid‘]; if($lang=="en"){ header("Location:http://www.website.com/buy.php?comeid=".$comeid); return; } ?>
标签:
原文地址:http://www.cnblogs.com/Mrhuangrui/p/4565575.html