I would like to use the get_browser() function in one of my scripts to display the user's info. I run the code (3 lines copied directly from php.net to see if it works) and I get this error:
Warning: get_browser(): browscap ini directive not set. in /home on line 33
Warning: Invalid argument supplied for foreach() in /home on line 35
My host has not installed a browscap.ini file, as the phpinfo() command says there is no path specified for that file. As far as I know, I cannot edit the php.ini file (don't have access to it). I have uploaded browscap.ini to my home directory, but is there any other way to get the php.ini file to point to the browscap.ini file I uploaded? In other words, how can this function work without editing the php.ini file? Thanks for any help!