Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder twodayslate's Avatar
    Join Date
    Mar 2007
    Location
    VA
    Posts
    1,042
    Thanks
    67
    Thanked 39 Times in 39 Posts

    Redirect for IE6 and below users RESOLVED

    Code:
    <?php
       if (eregi("MSIE",getenv("HTTP_USER_AGENT")) ||
           eregi("Internet Explorer",getenv("HTTP_USER_AGENT"))) {
    	Header("Location: http://twodayslate.com/ieindex.php");
    	exit;
       }
    ?>
    I found this but this just redirects all IE users. IE7 users are fine.

    Thanks.
    Last edited by twodayslate; 07-19-2007 at 05:50 AM.
    twitter | Quality Hosting - $5.95/mo*
    Feel free to PM me!

  • #2
    Senior Coder twodayslate's Avatar
    Join Date
    Mar 2007
    Location
    VA
    Posts
    1,042
    Thanks
    67
    Thanked 39 Times in 39 Posts
    I got an answer but I get an error
    http://answers.yahoo.com/question/in...8195002AAmHkF0

    EDIT:// I think he just added an extra }
    Last edited by twodayslate; 07-19-2007 at 05:46 AM.
    twitter | Quality Hosting - $5.95/mo*
    Feel free to PM me!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •