// ################### // ### MOBILE PAGE ### // ################### $ua = $_SERVER['HTTP_USER_AGENT']; if (stristr($ua, "Windows CE") or stristr($ua, "Symbian") or stristr($ua, "SymbianOS") or stristr($ua, "AvantGo") or stristr($ua,"Mazingo") or stristr($ua, "Mobile") or stristr($ua, "T68") or stristr($ua,"Syncalot") or stristr($ua, "Blazer") ) { $DEVICE_TYPE="MOBILE"; } if (isset($DEVICE_TYPE) and $DEVICE_TYPE=="MOBILE") { $location='mobile/'; header ('Location: '.$location); exit; } ?>