I’m trying to use the get_browser() function in one of my PHP pages – I’m trying to get some specific browser information about my visitors’ browsers.
I’ve had this same script working on another server (not Dreamhost), but I’m having some problems here. I’m getting this error message:
Warning: get_browser(): browscap ini directive not set. in /home/…/folder/stats_functions.php on line 109
I have created a php.ini folder in the same directory as the stats_functions.php and browscap.ini files:
browscap = /home/…/folder/browscap.ini
I’ve checked and double-checked, and I know that I’ve used the correct path here. I’m running PHP4 as an Apache module.
Any suggestions? Anybody else actually been able to get this running on a Dreamhost server?