Posts Tagged ‘browsers’

Use PHP to find your mobile browser January 11th, 2010 by Sheldon Lendrum

I needed a quick way to include different files based on the if the visitor to a site is on a mobile device or a regular browser/computer.
Every browser has a user agent depending on the operating system, browser and system.
below are some common use agents, they can be found by echoing the server variable HTTP_USER_AGENT

< [...]