Need script so code only shows when in browser anyother than firefox

Discussion in 'PHP' started by tomcromp, Feb 4, 2008.

  1. #1
    tomcromp, Feb 4, 2008 IP
  2. decepti0n

    decepti0n Peon

    Messages:
    519
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #2
    if (strpos($_SERVER['HTTP_USER_AGENT'], 'Firefox') === false) {
    // add banner code
    }
    PHP:
     
    decepti0n, Feb 4, 2008 IP
  3. tomcromp

    tomcromp Active Member

    Messages:
    454
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Cool thanks for that :)
     
    tomcromp, Feb 5, 2008 IP
  4. tomcromp

    tomcromp Active Member

    Messages:
    454
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #4
    tomcromp, Feb 5, 2008 IP