Works as any other detection script by sniffing the visitor's UA (user-agent) string for various details.
Because it's written in PHP it additionally uses HTTP header sniffing techniques as well for better results.
Mobile_Detect performs some simple checks and provides a set of results which can then be used by other apps or libraries to redirect the user to a new URL, serve him proper files according to his device type, etc..
A small demo is included with the download package.
· PHP 5 or higher
What's New in This Release: [ read full changelog ]
· Improved example.