View Single Post
  #1  
Old 02-14-2007, 09:26 AM
 
vickis vickis is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 47
 

Default if/then statement based on http vs https?

Is it possible to use an if/then statement depending on if you are on an https page versus an http page? If so, what is $variable for that?

Why I'm asking... My site uses "top sites" banners on the pages and those banner images do not pull from https/secure sites. The rest of the store area is on a secure server and so, when a customer registers/logs in, they switch from browsing http pages to the https pages and keep getting that annoying "This page contains both secure and non-secure items." I'd like to have the banners displayed when on http and turned off when on https pages.
__________________
currently: 4.7.1

previously: XCart Version 4.4.5 Pro
Reply With Quote