Re: Having trouble using get_browser() function
| From: | Iv�n Milanez Castellanos | Date: | Wed, 03 Oct 2001 16:02:16 +0000 |
| Subject: | Re: Having trouble using get_browser() function | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69791@lists.php.net to get a copy of this message | ||
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.
TIA
Iván Milanez
"Richard Lynch" <ceo@l-i-e.com> wrote in message
news:04c201c14bc4$6943aa80$c801a8c0@Lynchux100...
> #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
> theoretically capable of, not what the user has enabled/disabled...
>
> --
> WARNING richard@zend.com address is an endangered species -- Use
> ceo@l-i-e.com
> Wanna help me out? Like Music? Buy a CD:
> http://l-i-e.com/artists.htm
> Volunteer a little time: http://chatmusic.com/volunteer.htm
> ----- Original Message -----
> From: IVáN Milanez Castellanos <imilanezc@hotmail.com>
> Newsgroups: php.general
> To: <php-general@lists.php.net>
> 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
to
> > use browscap.ini in linux so that I can get the get_browser() function
to
> > 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.
> >
> >
>