Results 1 to 6 of 6

Thread: Check browser and redirect.

  1. #1
    Join Date
    Aug 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Check browser and redirect.

    Hi. I was wondering if I could get a php script to be able to check the browser and then redirect to another page.

    I found this one script when I was google searching that included soo many browsers that it checked for, I didn't even know some of them, thing is, I can't find it anymore. I only need to check for like Firefox/Netscape, IE, Opera, and Safari for Win/Mac...

    Great thanks to the person that can find me the script I was found before or anyone that can just write one for me.

    =D

  2. #2
    Join Date
    Apr 2007
    Posts
    149
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    See if this helps...

  3. #3
    Join Date
    Aug 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by remp View Post
    See if this helps...
    Yes, I have seen that before, I need it in PHP...

  4. #4
    Join Date
    Apr 2007
    Posts
    149
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    but scripts work perfect with php.

  5. #5
    Join Date
    Aug 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by remp View Post
    but scripts work perfect with php.
    Oh okay then. I'll use that then. Thanks!

  6. #6
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    In almost all cases, browser detection is a bad idea, because the site doesn't follow standards. Occasionally, it does make sense, though, but use it cautiously.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

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