Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
A general php utility for browser detection. Very robust and heavily tested in production environments. Not heavy weight like other php browser detectors, and not inaccurate. http://techpatterns.com/downloads/php…
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
SCRIPT / UTILITY DESCRIPTIONS These tools/utilities are available at github and on the listed primary pages. Version Control: https://github.com/smxi/php-browser-detection ============================================================================ PHP Browser Detection filename: browser_detection.inc Primary home page: http://techpatterns.com/downloads/php_browser_detection.php Support forums: http://techpatterns.com/forums/forum-11.html A general php utility for browser / OS / Mobile / Tablet detection. Very robust and heavily tested in production environments. Not heavy weight like other php browser detectors, without sacrificing accuracy. This is very fast, and very efficient, utility. In continuous use and development for almost 15 years. Returns either string or array data. Full explanation of output options in top comment header of script. There are a lot of browser detection scripts out there, some absurdly bloated and inefficient (all we're doing is parsing the useragent string the server returns, after all), others too simple, and prone to errors in detection. ============================================================================ PHP Language Detection filename: language_detection.inc Primary home page: http://techpatterns.com/downloads/php_language_detection.php A lightweight tool to assign browser languages. Based on the $_SERVER["HTTP_ACCEPT_LANGUAGE"] header. Returns an array of the following 4 item array for each language the os supports: 1. full language abbreviation, like en-ca 2. primary language, like en 3. full language string, like English (Canada) 4. primary language string, like English Easy to use, easy to implement, works well in conjunction with the browser detection utility. ============================================================================