This Page Is All About You

= 23) echo "Don't you ever sleep?"; else echo "Happy browsing!"; $ua = $_SERVER["HTTP_USER_AGENT"]; echo "

Your browser is "; if(preg_match("/MSIE/i", $ua)) echo "waning quickly."; elseif(preg_match("/opera/i", $ua)) echo "something to sing about."; elseif(preg_match("/lynx|links/i", $ua)) echo "minimal."; elseif(preg_match("/netscape/i", $ua)) echo "probably using crutches."; elseif(preg_match("/firefox/i", $ua)) echo "an old champ."; elseif(preg_match("/chrome/i", $ua)) echo "the new champ."; elseif(preg_match("@edge/@i", $ua)) echo "a repaint job."; else if(preg_match("/Windows.*like Gecko$/i", $ua)) # IE 11 tries to hide it's identity (understandable), but this # usually works. echo "a zombie"; elseif(preg_match("/Windows NT/i", $ua)) echo "some windows thing we don't recognize."; elseif(preg_match("/Mac os/i", $ua)) echo "probably running on a mac."; else echo "unusual."; // https://webaim.org/blog/user-agent-string-history/ ?>