Questions tagged [browscap]

Browscap is a browser capabilities database that provides detailed information about a browser from its user agent.

Browscap is a browser capabilities database that provides detailed information about a browser from its user agent.

Useful Links

43 questions
0
votes
1 answer

Using browscap.ini with VB.Net

Since 2013 now (more than 3 years), I have been using http://www.useragentstring.com/ in my main VB.Net project to get browser name/version and OS name/version from user agent string to add statistics to my local web application. But, recently, in…
Matt Roy
  • 1,455
  • 1
  • 17
  • 27
0
votes
1 answer

browscap.ini file and get_browser() aren't working

I removed the comment also from the php.ini in place of browscap but still it is not working. php.ini configuration file [browscap] browscap = "/Applications/mamp/conf/php7.0.0/browscap.ini" and my code…
Aman Sharma
  • 137
  • 2
  • 9
0
votes
1 answer

how to fix browscap.ini error on my web server

I use php to build my web page which i upload to my web server. On visit my page this error message display on my webpage that is on my web server but does not display on my wamp serve(my localhost) it work well. Cannot open…
dotun seyi
  • 43
  • 1
  • 10
0
votes
1 answer

Browscap.ini PHP startup delay

I observed that enabling the browscap.ini entry in the php-cli.ini file increases the startup time for php [browscap] browscap = /etc/browscap.ini time php -r 'echo "Hello\n";' Hello real 0m1.709s user 0m1.358s sys 0m0.348s ****VS the…
redbaron
  • 43
  • 5
0
votes
2 answers

Why isn't my wamp browsecap has a local or master value

Hi i have set the browsecap path correctly in my wamp php.ini, but i keep on getting ` Warning: get_browser(): browscap ini directive not set then i print a phpinfo() it shows that browsecap does not have local or master value, but i configured…
Prog_Rookie
  • 438
  • 7
  • 23
0
votes
2 answers

Allowed Memory size exhausted in Browscap

I have downloaded the library browscap version 2.0 and added this code $browscap = new Browscap('/tmp'); $browscap->doAutoUpdate = false; $current_browser = $browscap->getBrowser(); The problem is when I am trying to get information about the…
beginner1
  • 65
  • 1
  • 8
0
votes
2 answers

Get browser saying 'default browser'

I am using get_browser to keep statistics for my web site. However, all of the results are browser = 'Default Browser' and platform = 'unknown'. I checked phpinfo() and the browscap.ini path is correct. What else would be causing this problem? …
user3238291
0
votes
2 answers

Get_browser returns strange values even with updated browscap.ini defined in php.ini

Here are the things that i have already taken care of: Downloaded updated copy of php_browscap.ini from http://tempdownloads.browserscap.com/ (used the 'use only with PHP' version ofcourse) tried php_browscap.ini,lite_php_browscap.ini and…
user2557358
0
votes
1 answer

Issues with Browscap.ini

I recently started to use the get_browser() function inside of PHP and I encountered a major issue. I am trying to return the browser that the user is using back to the user but when I run the code: $browser = get_browser(null,…
user2557358
0
votes
2 answers

WampServer - browscap.ini is not there and curl_init() do not work

I am running wampserver 2.4 on windows machine and when I checked phpinfo() the local value and master value of browscap was no value. So can anybody tell me how to configure the server for browscap. other issue is that curl_init() method does not…
mega6382
  • 9,211
  • 17
  • 48
  • 69
0
votes
2 answers

Getting illegal characters in get_browser() method run in php

From the manuals I am running a simple code to fetch browser info using get_browser() method. Code in the manuals - Code I am running(almost same/i tried by removing echo "
"; but no effect) -

        
swapnesh
  • 26,318
  • 22
  • 94
  • 126
0
votes
2 answers

How can I add more entry to browscap.ini file?

The official browscap.ini files provided there works quite fine, but they can not seem to identify Opera running on Win8 (identified as 'Default Browser', Opera running on other versions of Windows seems to be identified correctly), the Epiphany…
starleaf1
  • 2,701
  • 6
  • 37
  • 66
0
votes
1 answer

PHP Installing browscap

I can't get get_browser() to work. I followed this tutorial about installing browscap : http://code18.blogspot.fr/2009/07/installer-browscapini-pour-php.html But it didn't work for me. When i display PHP info, in the core section, browscap has "no…
Virus721
  • 8,061
  • 12
  • 67
  • 123
1 2
3