Logo
Logo
  • Home
  • Products
  • Writing
  • Work
  • Request Quote
Logo

Backed by 20+ years of hands-on software development expertise, mithra62 transforms ideas into powerful, reliable solutions—designed to work exactly how you want, every time.

  • Address

    Tucson, AZ 85712
  • Email

    eric@mithra62.com
  • Contact

    +1-310-739-3322

WP-Click-Track 0.7.2 Released

  • Home
  • Writing
WP-Click-Track 0.7.2 Released
03 Aug 10
  • Programming
  • Code

Today I finally found the time to release an update to wp-click-track with a few bugs that some users have been encountering. This release is purely a bug fix release so there won't be any new bells or whistles but if you run IIS 6 or want to clear out some links or reset your system you're in luck. The only "interesting" bug that was fixed was the IIS6 HTTPS issue.

WP-Click-Track 0.7.2 Released

Because of how IIS6 and PHP populate the $_SERVER value some users were experiencing issues with their stats page. Turns out that IIS6 will return a value of "off" if the request wasn't made through HTTPS instead of the default behavior of returning a boolean. So, while the below code will work with Apache and newer versions of IIS, IIS6 creates a bit of a false positive:

<?php
if(isset($_SERVER))
{
     //server has HTTPS but IIS6 will always think it's on
}
?>

Instead, it's better to check the value along with the existance check like:

<?php
if(isset($_SERVER) && $_SERVER != 'off')
{
    //server has HTTPS and IIS6 is being account for
}
?>

Go Microsoft 😊

Recent Post

  • I'm Speaking! (...again...)
    I’m Speaking! (...again…)
    27 Apr, 2022
  • Guess I Better Start Contributing (...again...)
    Guess I Better Start Contributing (...again…)
    19 Apr, 2022
  • Hello World (... again...)
    Hello World (... again…)
    04 Apr, 2022

follow us

© Copyright 2025 | mithra62

  • Home
  • Products
  • Writing
  • Work
  • Request Quote