Created
February 19, 2012 05:32
-
-
Save ynonp/1862134 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
<?php | |
include("Mobile_Detect.php"); | |
$detect = new Mobile_Detect(); | |
if ( $detect->isMobile() ) { | |
print("Hello Mobile"); | |
} else { | |
print("Hello Desktop"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment