Our desktop site is [url removed, login to view]
our mobile site is [url removed, login to view]
I wish to detect the browser redirect mobile browsers from our destop site to our .mobi site
Our .mobi site uses instant mobilizer and I managed to get a switcher working in our test subdomain, but when I apply this code to our main domain instant mobilzer instant mobilizer returned an error.
this is what I tried (added to [url removed, login to view])
$mobile = "[url removed, login to view]";
$text = $_SERVER['HTTP_USER_AGENT'];
$var = 'Mozilla/4.';
$var = 'Android';
$result = count($var);
$ausg = stristr($text, $var[$i]);
I am thinking it maybe better to use a .htaccess redirect. but am open to any suggestions.