View Single Post
  #1  
Old 06-27-2008, 06:54 PM
 
MOC MOC is offline
 

Senior Member
  
Join Date: Oct 2002
Posts: 171
 

Question Need a IF statement for HTTPS

hi
could someone provide me with an if statement which excludes something, when the shop is called over https?

i would like to include a live chat button. everytime my shop changes from http to https, i get this terrible error message in my browser, that this site isn't secure (Because of the http:// image loading)

i don't wanna buy an extra ssl certificate for my live chat domain, so i would like to exclude the button completely once the shop uses the https server.

what if statement do i have to wrap around my code, to "remove" it?

thanks in advance
__________________
X-Cart Gold Version 3.5.14 (Live)
X-Cart Gold Version 4.1.10 (in dev)

Modification for 4.1.10
Run with 1 License, 1 Database up to 5 Shops with different domains, config, categories and more. click here for informations
Reply With Quote