Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Enable SSL for this?


420

Recommended Posts

Could someone please give me some assistance on enabling SSL for the quick order status search box below?

 

<?php
 $info_box_contents = array();
 $info_box_contents[] = array('align' => 'center',
                              'text'  => BOX_HEADING_ORDERTRACK
                             );
 new infoBoxHeading($info_box_contents, false, false);
 $hide = tep_hide_session_id();
 $info_box_contents = array();
 $info_box_contents[] = array('form'  => '<form name="order_track" method="get" action="' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, '', 'NONSSL', false) . '">',
                              'align' => 'center',
                              'text'  => $hide . '<input type="text" name="order_id" size="10" maxlength="30" value="' . htmlspecialchars(StripSlashes(@$HTTP_GET_VARS["keywords"])) . '" style="width: ' . (BOX_WIDTH-30) . 'px"> ' . tep_image_submit('go.gif', 'Quick Order Status Check', BOX_HEADING_ORDERTRACK) . '<br>'. BOX_ORDERTRACK_TEXT
                             );
 new infoBox($info_box_contents);
?>
           </td>
         </tr>
<!-- ordertracking_eof //-->

 

tia for your help. :)

Link to comment
Share on other sites

try:

(FILENAME_ACCOUNT_HISTORY_INFO, '', 'NONSSL', false)

to

(FILENAME_ACCOUNT_HISTORY_INFO, '', 'SSL', true)

 

and make sure this file is in HTTPS directory if you have one!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...