function isPhone ( $userAgent ) { if ( stristr($userAgent, "iPhone")) return true; if ( stristr($userAgent, "BlackBerry")) return true; if ( stristr($userAgent, "Mobile")) return true; return false; } $user_agent = $_SERVER['HTTP_USER_AGENT']; $isPhone = false; if(isPhone ( $user_agent )) { $isPhone = true; header("Location: http://www.aperfectexperience.com/mobile/home/"); die(); } ?>
|
|||||||||||||||||||||||||||||||
Relax and enjoy a comfortable ride in the backseat and not from behind the wheel. Let us worry about traffic, directions and parking! ![]() A Perfect Experience Charter and Limousine Service Home | Vehicles | Rates | Contact Us |