I'm using it to log all the browsers, and stuff about the browsers, that visit my site.
I've added the print_r to check what the variables are set to, where in practice it's an sql query.
$browser = get_browser(NULL, true);
print_r($browser);
This outputs:
Array ( [browser_name_regex] => ^.*$ [browser_name_pattern] => * [browser] => Default Browser [css] => 0 [frames] => [iframes] => [tables] => 1 [cookies] => [backgroundsounds] => [vbscript] => [javascript] => [javaapplets] => [activexcontrols] => [cdf] => [aol] => [beta] => [win16] => [crawler] => [stripper] => [wap] => [netclr] => )
In Opera 9.0, Firefox 3.0a1 and Internet Explorer 7.
Before I reformatted, this was working fine. Both now, and previously, I've been testing locally with xampp (the latest version).
Any ideas?
Thanks in advance.