Jump to content

Recommended Posts

i've just installed browscap (maybe behind the times)...but impressive stuff...just a few questions though

 

the [crawler] key...would i be correct in saying it detects if its a bot browsing

also [browser_type] what does this mean exactly?

 

some info on this would be great...thanks guys

//returned from: get_browser();

stdClass Object
(
    [browser_name_regex] => ~^mozilla/5\.0 \(.*windows nt 6\.1.*wow64.*\).*gecko/.*firefox/.*$~
    [browser_name_pattern] => Mozilla/5.0 (*Windows NT 6.1*WOW64*)*Gecko/*Firefox/*
    [parent] => Firefox Generic
    [browser_bits] => 32
    [platform] => Win7
    [platform_version] => 6.1
    [platform_description] => Windows 7
    [platform_bits] => 64
    [platform_maker] => Microsoft Corporation
    [win32] => 
    [win64] => 1
    [device_name] => Windows Desktop
    [device_code_name] => Windows Desktop
    [comment] => Firefox Generic
    [browser] => Firefox
    [browser_type] => Browser
    [browser_maker] => Mozilla Foundation
    [frames] => 1
    [iframes] => 1
    [tables] => 1
    [cookies] => 1
    [javascript] => 1
    [javaapplets] => 1
    [cssversion] => 3
    [device_maker] => Various
    [device_type] => Desktop
    [device_pointing_method] => mouse
    [renderingengine_name] => Gecko
    [renderingengine_description] => For Firefox, Camino, K-Meleon, SeaMonkey, Netscape, and other Gecko-based browsers.
    [renderingengine_maker] => Mozilla Foundation
    [browser_modus] => unknown
    [version] => 0.0
    [majorver] => 0
    [minorver] => 0
    [alpha] => 
    [beta] => 
    [win16] => 
    [backgroundsounds] => 
    [vbscript] => 
    [activexcontrols] => 
    [ismobiledevice] => 
    [istablet] => 
    [issyndicationreader] => 
    [crawler] => 
    [aolversion] => 0
    [device_brand_name] => unknown
    [renderingengine_version] => unknown
)
Link to comment
https://forums.phpfreaks.com/topic/296589-browscap-get_browser/
Share on other sites

browser_type is typically "Browser", "Bot/Crawler", or "Application"

 

brillaint...hopefully the end to captcha as i hate them so much!

 

what key would be the name of the bot please?

 

obviously i wouldn't want to block the good bots from accessing my pages...thank you for your reply

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.