Originally posted by kiss
View Post
Browscap
Collapse
X
-
I have a problem...my server activate the browscap function,the source in phpinfo it: extra/lite_php_browscap.ini but it not show full get_browser();
http://mfws.ro/a/index.php even i added in folder /a/ the file php.ini with browscap = extra/lite_php_browscap.ini
Leave a comment:
-
Hello there,
put this to your php.ini file
thenPHP Code:browscap = /path/to/your/php_browscap.ini
Using the get_browser() function
To start, open your text editor and create the following file:
now you can use these thingsPHP Code:<?php
$browser = get_browser(null, true);
?>
<pre>
<?php print_r($browser); ?>
</pre>
hope this will work if you have further questions then askPHP Code:$browser['platform'], $browser['browser'] and $browser['majorver'],
$browser['issyndicationreader'] and $browser['ismobiledevice']
Leave a comment:
Leave a comment: