Security warning

Discussion in 'Co-op Advertising Network' started by thebu, Apr 5, 2005.

  1. #1
    Like someone else mentioned, I'm getting security warnings on all pages of my e-commerce site. I didn't have problems with the old version. Just wanted to check and see if we have a fix coming for this issue?

    Thanks much.
     
    thebu, Apr 5, 2005 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    I've updated the PHP code to not use it if it's on an HTTPS site.

    You can update your code from the setup, or you can change this line:
    if ($ads_temp[6] && ($output || preg_match('#(' . str_replace ('-', '|', $ads_temp[7]) . ')#si', $_SERVER['HTTP_USER_AGENT']))) $ad_network .= ' <img src="http://ads.digitalpoint.com/t-' . implode ('-', $ad_ids) . '.gif" width="1" height="1" />';
    PHP:
    to this:
    if ($ads_temp[6] && ($output || preg_match('#(' . str_replace ('-', '|', $ads_temp[7]) . ')#si', $_SERVER['HTTP_USER_AGENT'])) && !$_SERVER['HTTPS']) $ad_network .= ' <img src="http://ads.digitalpoint.com/t-' . implode ('-', $ad_ids) . '.gif" width="1" height="1" />';
    PHP:
     
    digitalpoint, Apr 5, 2005 IP
  3. thebu

    thebu Guest

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you so much, Shawn!
     
    thebu, Apr 6, 2005 IP