PHP Code:
if (strpos(strtolower($_SERVER["HTTP_ACCEPT"]), "text/vnd.wap.wml") !== false || strpos(strtolower($_SERVER["HTTP_USER_AGENT"]), "text/html") !== false) $wml_device = true;
else $wml_device = false;
if($wml_device == false)header ('Location: http://wapforum.org.uk/');
if($wml_device == true)header ('Location: http://nowtouchme.net/');
No comments:
Post a Comment