Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Images keep coming through on SSL connection


rajiboy

Recommended Posts

I am currently hosting on 1and1 and have followed some examples to remove the SSL issue. These include the following lines:

 

Application_top.php with

$request_type = (eregi ($HTTP_HOST, HTTPS_SERVER)) ? 'SSL' : 'NONSSL';

 

and index.php with

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

 

The issue I have is all the images when using non SSL connection are using SSL regardless.

I have placed an echo around the request type and this always returns an SSL request type back.

 

Help

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...