360haven works best with JavaScript enabled
PHP Block Internet Explorer.
Loading
Register
Results 1 to 4 of 4
  1. #1
    Senior Member
    ohnoyekoms is offline
    Join Date : Apr 2012
    Posts : 103
    Array

    PHP Block Internet Explorer.

    Code:
    <?php
       if (eregi("MSIE",getenv("HTTP_USER_AGENT")) ||
           eregi("Internet Explorer",getenv("HTTP_USER_AGENT"))) {
            Header("Location: http://gamesave.hdhost.in:81/reject.html");
            exit;
       }
    ?>
    put this in index.php and they cannot access your site using internet explorer. and if you want to block them from ALL of your pages create block.php stick it inside there then do: <? include('block.php'); ?>



    real simple and fast :D
    Downloads : 14 || Uploads : 0 || Rep Power : 2184 || Posts : 103 || Thanks : 20 || Thanked 40 Times in 16 Posts


    Need file hosting? go here


  2. #2
    DEADBEEF

    JizzaBeez is offline
    Join Date : Nov 2010
    Posts : 777
    Array

    Re: PHP Block Internet Explorer.

    Here are some other easy ways to redirect or block Internet Explorer; (1) using IE html conditionals, (2) using Javascript. Each of these can be run before page load and should be put in the html Head.

    HTML IE Conditional (possibly only supported in IE)
    Code:
    <!--[if IE]>
    <meta http-equiv="Refresh" content="0;url=iepage.html" />
    <![endif]-->
    Javascript
    Code:
    <script type="text/javascript">
    if (navigator.appName == "Microsoft Internet Explorer") {
        window.location = "iepage.html";
    }
    </script>

  3. The Following User Says Thank You to JizzaBeez For This Useful Post:


  4. #3
    Senior Member
    ohnoyekoms is offline
    Join Date : Apr 2012
    Posts : 103
    Array

    Re: PHP Block Internet Explorer.

    Javascript can be blocked by the user, you cant block mine :)
    Downloads : 14 || Uploads : 0 || Rep Power : 2184 || Posts : 103 || Thanks : 20 || Thanked 40 Times in 16 Posts


    Need file hosting? go here


  5. #4
    PreparationH

    Re: PHP Block Internet Explorer.

    Copy and pasting these into my notepad for later use :D ty

 

 

Similar Threads

  1. Internet Explorer or Google Chrome?
    By Andrese in forum Chit Chat
    Replies: 7
    Last Post: 07-05-2013, 11:55 AM
  2. This is me when i accidentally click on internet explorer
    By Original Boss in forum Chit Chat
    Replies: 11
    Last Post: 02-10-2013, 01:46 AM
  3. XBOX 360 Internet Explorer - Blocks 360haven.com
    By MBRKiNG in forum Xbox 360 General Discussion
    Replies: 18
    Last Post: 07-31-2012, 05:54 AM
  4. Game saves into internet explorer files?
    By watisuphome in forum Help & Support
    Replies: 5
    Last Post: 03-10-2012, 11:21 PM
  5. There are more dead to block in this Dead Block DLC map pack
    By jkipp82 in forum XBL Marketplace News
    Replies: 0
    Last Post: 08-23-2011, 03:10 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.
     

About 360haven

    360haven is an Forum Devoted To Game modding Fans from all over the world.

    An Awesome Community of Xbox 360 Gamers, Modders and Developers who Create & Share Tutorials, Applications, Gfx, Trainers and Gamesaves.

    A haven for the l33t.
    A scarce paradise for modders.

Like this page

Google+