Revision: 22229
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 6, 2010 15:23 by ericschweichler
Initial Code
function isiphone() { return (stripos(strtolower($_SERVER['HTTP_USER_AGENT']),"iphone") > -1) ? true : false; }
Initial URL
Initial Description
Detect if the user is browsing from and iPhone (or iPod) to server up specific content. For example, iPhone users can receive youtube video content instead of vimeo, etc.
Initial Title
Detect iPhone function
Initial Tags
php, iphone
Initial Language
PHP