Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL check before displaying ad


bonhommie

Recommended Posts

hey all,

i have this store where i like to display google ads in the header. But it causes the pop-up window to come saying there are insecure objects on the page when you visit the secure part of the site.

 

 

Is there a code i can include in the header to check whether the page is ssl or nonssl before displaying the ad on that page?

 

help!

Link to comment
Share on other sites

if the server of these ads supports ssl (they should), you could use the https by checking if you're on a secure connection.

Link to comment
Share on other sites

hey all,

i have this store where i like to display google ads in the header. But it causes the pop-up window to come saying there are insecure objects on the page when you visit the secure part of the site.

Is there a code i can include in the header to check whether the page is ssl or nonssl before displaying the ad on that page?

 

help!

See the bottom of this page: http://www.oscommerce.info/kb/osCommerce/G...mon_Problems/75

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...