×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: tagmycode
Added: Nov 15, 2017 8:36 PM
Modified: Nov 23, 2017 9:28 AM
Views: 11
Tags: no tags
  1. <?
  2. function detect($str){
  3.    return strstr($_SERVER['HTTP_USER_AGENT'], $str);
  4. }
  5.