Ok. I found this PHP code... haven't tried it yet. I'll post if it
works in case anyone else is interested:
function detectiPhone($query){
$container = $_SERVER[’HTTP_USER_AGENT’];
$useragents = array (
“iPhone”,”iPod”);
$this->iphone = false;
foreach ( $useragents as $useragent ) {
if (eregi($useragent,$container)){
$this->iphone = true;
}
}
if($this->iphone){
echo (”This is a iphone or iphone touch - do something like redirect
here”);
}else{
echo (”You are not on an iPhone or iPod touch”);
}
}
?>
> > - Show quoted text -- Hide quoted text -