#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    3
    Rep Power
    0
    Hi. I'm making a php page that connects to MySql DB. I am done with Netscape version, that doesn't work on IE (layers...). How do I check what kind of browser is it that has loaded my page, so that I can have one big if-else with codes for both browsers?
  2. #2
  3. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,642
    Rep Power
    4492
    $HTTP_USER_AGENT stores the browser type the user is viewing your pages with.

IMN logo majestic logo threadwatch logo seochat tools logo