Re: [PHP] Re: Having trouble using get_browser() function

2001-10-03 Thread Mark
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.

[PHP] Re: Having trouble using get_browser() function

2001-10-03 Thread Iván Milanez Castellanos
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

[PHP] Re: Having trouble using get_browser() function

2001-10-02 Thread Richard Lynch
#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