php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #14367 browscap not well documented
Submitted: 2001-12-06 17:43 UTC Modified: 2001-12-07 00:20 UTC
From: knightemu at yahoo dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 4.0.6 OS: win 98
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: knightemu at yahoo dot com
New email:
PHP Version: OS:

 

 [2001-12-06 17:43 UTC] knightemu at yahoo dot com
As far as i can see, there is no documentation for getting the browscap.ini to work on a win98 running apache. As i was looking at the documentation, i also saw a general lack of documentation on the browscap.ini file on more then one platform.

when looking up the get_browser, it was not clear that a file had to be downloaded in addition to the php download and it was not clear that the file had to be configured and installed on the system running php. This is not a big problem, but while i was trying to get help on installing my browscap.ini file i found none.

I cant get get_browser to work because i cant figure out how to install the browscap.ini file. Is it possible? If it its not possible it would have been nice to know.

Knight

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-06 17:57 UTC] goba@php.net
OK, this is not included in one single page. You need
to dig some :)

See the manual page:
http://www.php.net/manual/en/function.get-browser.php

| In order for this to work, your browscap
| configuration file setting must point to the
| correct location of the browscap.ini file. 

See that browscap is actually a link to the
configuration section, where you can find again
what setting to alter (name: browscap).

Read on:
| For more information (including locations from
| which you may obtain a browscap.ini file),
| check the PHP FAQ at http://www.php.net/FAQ.php. 

OK, I have checked it for you and found:
http://www.php.net/manual/en/faq.obtaining.php#AEN63982

Visit this page and read the FAQ entry.

It is worth to read on using our links :))

There are some PHP distributions with included
browscap.ini, and as you can see in php.ini,
it is included with IIS/PWS. Currently the
browscap.ini is not in the download...

But we provided a link where you can get it :)

Goba
 [2001-12-06 17:59 UTC] goba@php.net
Erm, the user notes are also worth reading :)
 [2001-12-07 00:20 UTC] knightemu at yahoo dot com
Thanks Goba, i found the user notes very useful.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 09:01:28 2024 UTC