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 get it to work properly, for even though I have
installed it in the directory where php.ini says it should be and have
uncommented the line pertaining to browscap.ini in the php.ini file I still
can't get it to work.


Iván Milanez

"Richard Lynch" <[EMAIL PROTECTED]> wrote in message
> #1.  Did you download a nice big browscap.ini instead of that empty one
> comes with PHP?...
> #2.  Are you aware that $HTTP_USER_AGENT has the Browser in it, without
> complications of get_browser and browscap.ini?
> #3.  You do realize that get_browser() only tells you what a browser is
> theoretically capable of, not what the user has enabled/disabled...
> --
> WARNING [EMAIL PROTECTED] address is an endangered species -- Use
> Wanna help me out?  Like Music?  Buy a CD:
> Volunteer a little time:
> ----- Original Message -----
> From: IVáN Milanez Castellanos <[EMAIL PROTECTED]>
> Newsgroups: php.general
> Sent: Monday, October 01, 2001 7:21 PM
> Subject: Having trouble using get_browser() function
> > Hi, does anyone here know how to correctly configure php.ini to be able
> > use browscap.ini in linux so that I can get the get_browser() function
> > work properly, I need it because I'm building a statlog from scratch for
> my
> > web site.
> >
> > Any help will be apreciated.
> >
> > Iván
> >
> > P.S. Sorry about my spelling but english is not my native language.
> >
> >

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to