+ Reply to Thread
Results 1 to 3 of 3

Thread: int. explorer redirect

  1. #1
    panathon is offline x10Hosting Member panathon is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    2

    int. explorer redirect

    need to know how to redirect from my site if a person is viewing in explorer. Site works perfect on pc or mac except when bloody microsoft are part of the equation!, does anyone have some javascript code that wil sort this (not a good programmer myself)

    Thanks, Anne

  2. #2
    Slothie's Avatar
    Slothie is offline Lord Of The Keys Slothie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Singapore
    Posts
    1,432

    Re: int. explorer redirect

    You can redirect this in PHP if you want.

    PHP Code:
    if  (stristr($_SERVER['HTTP_USER_AGENT'],'Microsoft'!=false)) {
    header('location: http://www.google.com');


    Easiest 70 points you'll make on x10

    Feel free to add my reputation by clicking on the if you found my post helpful to you :P


    If I am not responding to your PMs, that means I am ignoring you. Take a hint.



    09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0


  3. #3
    lambada's Avatar
    lambada is offline x10 Elder lambada is an unknown quantity at this point
    Join Date
    Mar 2006
    Location
    Caister, Gt Yarmouth, Norfolk, ENGLAND
    Posts
    1,222

    Re: int. explorer redirect

    If you only want IE to redirect then try using IE Conditional comments (They are mainly used for CSS, but they can actually work for any code.

    http://www.quirksmode.org/css/condcom.html for more information (or a google search ;) )
    Last edited by lambada; 11-26-2007 at 12:17 PM.
    Lambada - the former Account Manager (before I resigned)




+ Reply to Thread

Similar Threads

  1. Replies: 5
    Last Post: 11-18-2007, 03:21 AM
  2. Redirect
    By BlueIce in forum Free Hosting
    Replies: 3
    Last Post: 10-21-2007, 08:06 AM
  3. Cpanel Redirect problem
    By BigEmmaFanz in forum Free Hosting
    Replies: 5
    Last Post: 12-10-2005, 04:51 PM
  4. How Do You Redirect?
    By TarinC in forum Off Topic
    Replies: 2
    Last Post: 10-02-2005, 11:01 AM
  5. Redirect?
    By DonkeyTvShow in forum Free Hosting
    Replies: 0
    Last Post: 06-27-2005, 10:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers