I downloaded a browscap.ini file from browserhawk or something
recently that php choked on because of an error on the last line. I
deleted the line and it worked fine.
If you're using the apache module you can go: 'apachectl configtest'
and if there's a problem with the file it will let you know.
Yeap I did download a browscap.ini from a web site, and yes I am aware of
the functionality of the $HTTP_USER_AGENT variable, and yes I am aware of
the fact that the browscap.ini file tells you what a browser is capable of
hence the name BrowsCap (Browser Capabilities).
The question was how do I
#1. Did you download a nice big browscap.ini instead of that empty one that
comes with PHP?...
#2. Are you aware that $HTTP_USER_AGENT has the Browser in it, without the
complications of get_browser and browscap.ini?
#3. You do realize that get_browser() only tells you what a browser is
theor
3 matches
Mail list logo