php code as follows:
$iswap = isset($_SERVER[‘HTTP_ACCEPT’])? $_SERVER[‘HTTP_ACCEPT’]:”;
if(strpos($iswap,”wap”)>0)
{
@header(“Location: /wap/”);
}
Study PHP Skills, Share PHP Code
php code as follows:
$iswap = isset($_SERVER[‘HTTP_ACCEPT’])? $_SERVER[‘HTTP_ACCEPT’]:”;
if(strpos($iswap,”wap”)>0)
{
@header(“Location: /wap/”);
}