"; // print entire User Agent string for testing //setting the variables if(strstr($_SERVER['HTTP_USER_AGENT'],'iPod')){$ipod=true;} // User Agent is iPod if(strstr($_SERVER['HTTP_USER_AGENT'],'iPhone')){$iphone=true;} // User Agent is iPhone if(strstr($_SERVER['HTTP_USER_AGENT'],'iPad')){$ipad=true;} // User Agent is iPad if(strstr($_SERVER['HTTP_USER_AGENT'],'Safari')){$Safari=true;} // User Agent is Safari Browser if(strstr($_SERVER['HTTP_USER_AGENT'],'Chrome')){$Safari=false;} // User Agent is Chrome--so set Safari to false //detecting apple devices which cannot run FLASH then redirect if ($ipod == true || $iphone == true || $ipad == true || $Safari == true){ header( 'Location: ios.html' ) ; } else { // this is a non-apple browser so use FLASH plugin below } ?> Special Cards for Special Moments