browser block script

Discussion in 'Scripts, 3rd Party Apps, and Programming' started by monsterm, Jul 12, 2009.

  1. monsterm

    monsterm New Member

    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    0
    anyone know the name of a script that is used to block internet browsers to come on my site

    example:

    "this webpage requires to run in internet explorer"


    if anyon knows what im talking about can u help me out here
     
  2. Chris S

    Chris S Retired

    Messages:
    2,055
    Likes Received:
    1
    Trophy Points:
    38
    just wondering...why exactly would you want to do that?

    you can try this script. Many people don't actually do this because people can spoof what browser they are running.

    http://mavrick.id.au/programming/2008/the-all-new-php-browser-detection/

    you might do something like this

    Code:
    $browser = new Browser();
    if( $browser->getBrowser() == Browser::BROWSER_IE) {
    	echo 'You have Internet Explorer';
    }
    
     
  3. monsterm

    monsterm New Member

    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    0
    i made a visual basics application for my site and if i view it on firefox or any other web browser the page to download the app is all in XML codeing but in IE the download window pop's up for thats why i want to use that code cus if ppl use firefox to look at my app they will see all codes and not the app


    if u wona see it in firefox go to http://monstermatt2.pcriot.com/app/publish.htm but to see my app u have to view it in IE :happysad::happysad::happysad::happysad::happysad::happysad::happysad::happysad:
     
    Last edited: Jul 13, 2009

Share This Page