/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function browser(){ foreach ($keyname_ua_arr as $keyname_ua) { if (!emptyempty($_SERVER[$keyname_ua])){ $ua = $_SERVER[$keyname_ua]; break; } } return $ua; }