Re: get_browser()
| From: | Andreas Pour | Date: | Wed, 02 Aug 2000 10:27:34 +0000 |
| Subject: | Re: get_browser() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-9664@lists.php.net to get a copy of this message | ||
Hi,
AFAIK this feature is completely broken and has been for some time. But
as none of the releases of the last 4 months works for me I can't say
much about whether it works in 4.0pl2.
Ciao,
Andreas
Peter Lowe wrote:
>
> Hi,
>
> I'm trying to use the get_browser() function in php, but it doesn't seem to
> be working, as it returns an empty array if I do something like
>
> $browser = get_browser();
>
> I've got the latest browscap.ini file from the site mentioned in the FAQ,
> it's readable by the web server and it's set to the right place in php.ini,
> phpinfo() reports it OK and it seems to look right when I actually read
> through it myself.
>
> I was wondering if I have to add some option to 'configure' when compiling
> php into apache (we use it as a static module), but ./configure --help doesn't
> seem to show any option to include / exclude theget_browser functionality.
>
> Can anyone help at all? I'd love to be able to use it.
>
> regards,
>
> Peter Lowe.
>
> --
> This is not the signature you are looking for. Move along now.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net