Redirect by PC or mobile access
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/”); }
Add php code into html for lunarpage.com linux host. try this line in a blank .htaccess AddType application/x-httpd-php php html