Menu

Where is $Ver set?!

Help
2002-09-05
2012-09-14
  • Glenn Kusardi

    Glenn Kusardi - 2002-09-05

    I tried to figure out where $Ver is set, but I just can't find it, so anyone could help me?

    I want to modify the if expression to get my Mozilla work with $Ver = 'H'.

     
    • Glenn Kusardi

      Glenn Kusardi - 2002-09-05

      Done! ;-)

      Anyways it's not that good to use JavaScript for checking browser versions, if you could use $HTTP_SERVER_VARS/$_SERVER["HTTP_USER_AGENT"] in PHP.

      var IE4 = ((document.all) || (parseInt(navigator.appVersion)>=4)) ? 1 : 0;
      modifies the JS and makes it possible to get Mozilla working with the $Ver = 'H' version. I see no problems but honestly I haven't tested it as I should yet...

       
    • Glenn Kusardi

      Glenn Kusardi - 2002-09-05

      There are several problems occuring, though it seems working properly.

      So it's not as easy as that ;-)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.