![]() |
I'm having a bit of trouble getting the get_browser() to work. A warning, "get_browser() [function.get-browser]: browscap ini directive not set", is returned, even though there is a browscap.ini file in the PHP directory from www.garykeith.com, and php.ini says "browscap = browscap.ini". I've tried various arrangements, with the full path (E:\PHP\browscap.ini), both with forward- and back-slashes, on its own, with a single forward-slash at the front ("/browscap.ini"), all with and without surrounding quotes. I'm officially stuck - can anyone help?
I'm running PHP v5.0.2. |
my guess is that the problem is in the php.ini file.
what directory is your browscap.ini located in? Where does phpinfo() report it being? Do these two match? |
Mym guess would have to be the same thing, could you run php_info() in a borwser on a page (with nothing else being called) and maybe provide a link to this page so we can view a bit more information abou your PHP Installation on php.ini file?
|
Both php.ini and browscap.ini are located in E:\PHP. My PHP Info page is at http://80.1.252.217/phpinfo.php - take a look. Currently, in php.ini, browscap = browscap.ini.
|
i see the value "no value in browsecap right now, can sombody else verify?
|
I see "no value" as well, I'm afraid. This officially sucks.
|
| All times are GMT -5. The time now is 12:54 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC