Last active
October 8, 2016 16:58
-
-
Save steffengrahl/096a5db679616f9247d3aae8dba3df94 to your computer and use it in GitHub Desktop.
This file contains 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
<pre> | |
<?php | |
echo $_SERVER['HTTP_USER_AGENT']."\n\n"; | |
if (strstr($_SERVER['HTTP_USER_AGENT'], 'Mozilla')) { | |
echo "gefunden\n"; | |
} else { | |
echo "nicht gefunden\n"; | |
} | |
?> | |
</pre> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment