Browscap

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • shushant
    replied
    Originally posted by kiss View Post
    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
    Google get_browser() Replacement

    Leave a comment:


  • kiss
    replied
    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:


  • spiderwebs
    replied
    Hello there,

    put this to your php.ini file
    PHP Code:
    browscap = /path/to/your/php_browscap.ini 
    then
    Using the get_browser() function
    To start, open your text editor and create the following file:
    PHP Code:
    <?php
    $browser 
    get_browser(nulltrue);
    ?>

    <pre>
    <?php print_r($browser); ?>
    </pre>
    now you can use these things
    PHP Code:
    $browser['platform'], $browser['browser'] and $browser['majorver'],
    $browser['issyndicationreader'] and $browser['ismobiledevice'
    hope this will work if you have further questions then ask

    Leave a comment:


  • kiss
    started a topic Browscap

    Browscap

    Hi,need help about php_browscap.ini how to install and how it working if someone know.I want to detect on my site all browser name and version include for mobile.Thank you.
Working...
X