Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What is the difference between these?


rumi

Recommended Posts

Posted

What is the difference between this link:

 

<?php echo '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . 'Privacy Notice' . '</a>'; ?>

 

and this link:

 

<a href="<?php echo tep_href_link(FILENAME_CONTACT_US, '', 'SSL'); ?>" class="links"><?php echo "Contact Us"; ?></a>

 

I can see that one includes SSL, but Im not sure in what cases I should use either. I have a SSL certificate on my server, so Im wondering if I need to use the link type with the SSL stated or whether my includes/configure file will automatically detect the settings when a visitor moves to a page that requires ssl.

 

Thank You!

Posted

pages that contain personal info like info/account forms is good to have them using a secure connection. When you use the SSL parameter the generated link will use the the secure connection which is defined in your configure.php file.

Posted
pages that contain personal info like info/account forms is good to have them using a secure connection. When you use the SSL parameter the generated link will use the the secure connection which is defined in your configure.php file.

Thank you for the clarification.

Archived

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

×
×
  • Create New...