Disabling browsers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • badvoc
    New Member
    • Sep 2007
    • 44

    Disabling browsers

    Hello to all.

    I have an issue with firefox browser and would like to stop visitors using it until I have my problem fixed.

    Is there such php code to do this. I don't want to stop it perminatly just until my code is right.

    Unless someone knows why I have this problem...

    My site involves placing an order and when an order is placed using firefox 2 orders are generated, the one the visitor places and a blank one. The system is fine in I.E but not FF.

    Many thanks

    Badvoc
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, Badvoc.

    I'd be careful about disabling your site, because when you do that, a good portion of those Users will never come back.

    When a site tells me that I can't use it because of my browser, the first thing I do is spoof my User agent string and use the site anyway.

    You can check the User's browser by analyzing the $_SERVER['HTTP_USER_AGEN T'] string.

    My recommendation, rather than disabling the site, would just be to have a "We're experiencing problems with Firefox." message at the top of each page. You also might consider allowing the User to click on the message to prevent it from showing up for, say, 1 week (by setting a cookie).

    Comment

    • badvoc
      New Member
      • Sep 2007
      • 44

      #3
      Cheers, the latter suggestion is probably what i will go for. I am not keen on blocking browsers either.

      I'll try and work on fixing whats wrong.

      I have also noticed that firefox has issues with style sheets, or should I say it has issues with the way I have written my style sheets. Is there such thing as a tutorial or some tips somewhere to help site building for firefox.
      Cheers

      Comment

      Working...