Mobile Browser Detector Using PHP

Detect mobile browser and mobile user agents with a simple yet powerfull PHP function. 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. A quick, easy to use, solid and dependable PHP function to detect mobile browsers like iPhones, iPads, Androids, Windows Phones, BlackBerry’s and Palm devices which visit your website. From old legacy devices through to today’s hottest smartphones, they’re all detected.

Creating Pagination With CakePHP and Twitter Bootstrap

PaginatorHelper is a CakePHP powerfull helper feature for pagination. It is very easy to use and have good documentation found here. It has functions like prev, numbers and next to generate pagination number with link to the paged. We will discuss how to create Bootstrap pagination for CakePHP.

SimplePie Enclosure Get Media Content Link

SimplePie is a very fast and easy-to-use class, written in PHP, that puts the ‘simple’ back into ‘really simple syndication’. Flexible enough to suit beginners and veterans alike, SimplePie is focused on speed, ease of use, compatibility and standards compliance. When the feed is using the media content url or link, we can not use the get_link() function directly to get a media content url. See example below: