Detect mobile browser via user agent

Helping small and large websites detect and redirect mobile browsers based on their user agent since 2007.

You are NOT using a mobile

Your user agent is
Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)

Detect mobile browser with PHP

This small yet highly effective PHP script detects mobile phone browsers on your website so you can redirect them to your mobile website or show them a different template. It simply answers the question: is this visitor using a mobile?

PHP code and demo
Detect mobile browser with JavaScript

A small but highly effective JavaScript code recognizes the browser of a smartphone, so that it can be redirected to the mobile website and a mobile template can be displayed.

JavaScript demo