get_browser is a php function that tells what the user's browser is capable of [1].
You can place php.ini in your account and add this capability. You can get the latest php.ini file for php4 from your control panel or from our FAQ pages.
Once you have placed the php.ini in the appropriate folder, please edit php.ini and uncomment this:
browscap = browscap.ini
Now you need browscap.ini which you can download from [2] "php_browscap.ini
Use only with PHP!" A special version of browscap.ini for PHP users only!
Please download that file, rename it to browscap.ini and place it somewhere in your account as referenced from the php.ini file.
References:
[1] http://php.net/get_browser
[2] http://browsers.garykeith.com/downloads.asp
- 5 Users Found This Useful
Related Articles
Can I do basic http authentication through php?
Yes, HTTP authentication works fine through PHP.
Can I run PHP scripts anywhere on my site?
Yes, PHP scripts do not have to reside in a particular directory and will run anywhere on your...
How do I change File Permissions?
If you're new to scripting, or getting the dreaded "Internal Server Error" when you try to run a...
How do I edit the text of my web page?
If you have a web page created by someone else, you can edit the text easily. Here's how:1....
How do I make changes to php settings?
Please login to your control panel and click on "security notes" in front of PHP4 Version in the...
Powered by WHMCompleteSolution