browsecap

php get_browser() without browsecap directive

Submitted by morf on Wed, 09/28/2011 - 10:42pm

I'm probably not the only one who tried to use php function get_browser() on shared hostings and ran into serious troubles, because the directive wasn't set. I tried first parse browscap.ini file with parse_ini_file() function, however the file format isn't compatible with this function.

Subscribe to browsecap