phpbrowscap icon indicating copy to clipboard operation
phpbrowscap copied to clipboard

Standalone replacement for php's native get_browser() function

Results 34 phpbrowscap issues
Sort by recently updated
recently updated
newest added

Hi there, Was using this code in production and just recently noticed some issues. Looked around and found the new repository ```browscap/browscap-php```. Properly maintained and major improvements. Last commit on...

This morning I got the error mentioned above, because it failed to get the ini file. But on my server I haven't installed curl which results in a blank website...

0 - Backlog

So, I just decided to test out this little toy on my personal server, and I ran into a bit of an issue. This is the message I got: Fatal...

To prevent php memory_limit exhausted issue i have updated parsing data from .ini file. Original idea from @ghost https://github.com/GaretJax/phpbrowscap/issues/68#issuecomment-59587078

I am using symfony and phpbrowscap as service defined in `services.yml`. currently, my definition in `services.yml` look like this: ``` browscap: class: phpbrowscap\Browscap arguments: - %browscap_cache_dir% ``` I'd like to...

`file_get_contents(http://browscap.org/stream?q=Full_PHP_BrowsCapINI): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden` Can still grab it in my browser, so it looks like they've blocked remote download/scraping.

I'm testing phpbrowscap in an app and display empty "stdClass Object": ``` stdClass Object ( ) ```

explode line crashed the script on my install, which made me realize it is very memory intensive on a large file like this. instead my alternative is to write the...