A Video for the Ojambo.com PHP Mobile Device Detect article.
Part One of One
In order for the mobile device detection to work, the browser sends the HTTP_USER_AGENT as a string to the server.
The video begins by selecting a suitable programming editor. Ojambo.com reviewed cross-platform lightweight programming editors.
The tutorial is broken up into two parts. The first creates a PHP file inside the server document root folder. The second part creates the mobile detection algorithm.
The final output is displayed in a browser. The server will determine if a device is mobile by comparing the HTTP_USER_AGENT string with specified values.