Advertisement
Guest User

Mobile Device Detection Script (Part - 2)

a guest
Dec 20th, 2014
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.20 KB | None | 0 0
  1. <?php
  2. /*** MOBILE DEVICE DETECTION SCRIPT (PART - 2) ***/
  3.  
  4. if ($isMobile) {
  5. header('Location:http://m.mowser.com/web/' . urlencode($_SERVER['HTTP_HOST'] .$_SERVER['REQUEST_URI']));
  6. exit();
  7. }
  8. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement