Created
January 9, 2020 01:31
-
-
Save Alicannklc/4f9d5f9d5fba7650bbcc89e496726f92 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require_once 'Mobile_Detect.php'; | |
| $detect = new Mobile_Detect; | |
| if ($detect->isMobile()) | |
| { | |
| header('Location: Mobil Urlsi'); | |
| } | |
| elseif ( $detect->isTablet()) | |
| { | |
| header('Location: tablet urlsi'); | |
| } | |
| else | |
| { | |
| header('Location: pc Urlsi'); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment