Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL and logo


Guest

Recommended Posts

Hi,

 

I've just installed a SSL and it seems to be working well. The certificate is from Comodo. I want to include their trust logo into my pages. They have some javascript which needs to go in the <head> tag.

 

However, they have two different bits of javascript

 

1) for a STANDARD NON-SECURE page, code has something of the form "src=http://file.js "

2) for a SECURE page, code has something of the form "src=https://secure/file.js "

 

So problem is, which do I use since index.php is used by both http:// and https://

 

Any thoughts, suggestions as to what I should do.

 

BTW, I'm probably going to implement the contrib that shows a SSL box when in a secure mode. This doesn't help me as javascript needs to go into <head>

 

Thanks,

 

MArk

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...