Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How do i make the "contact us" form work in https

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-19-2006, 06:50 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default How do i make the "contact us" form work in https

Hi all can anyone please advise, ive just had my secure server setup and although registeration, login and checkout are now using https the contact form is still using http and i would like to make the contact us form secure as well, can any please help with this.

Many thanks Dean
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #2  
Old 07-19-2006, 07:14 AM
  wjbrewer's Avatar 
wjbrewer wjbrewer is offline
Banned
 

X-Adept
  
Join Date: Feb 2005
Location: Pittsburgh, PA
Posts: 504
 

Default

You have to edit https.php. There is an array called $https_scripts. The scripts listed in this array will always be available over HTTPS.

Add

Code:
$https_scripts[] = array("help.php?section=contactus");

It should look something like this when you are finished

Code:
$https_scripts[] = "secure_login.php"; if ($config["General"]["use_https_login"] == "Y") { $https_scripts[] = "register.php"; $https_scripts[] = array("cart.php", "mode=checkout"); $https_scripts[] = array("cart.php", "mode=auth"); $https_scripts[] = array("help.php?section=contactus"); }
Reply With Quote
  #3  
Old 07-19-2006, 07:23 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default

Hi wjbrewer

Many thanks for your help with this, just done it works great, just want my customers to feel safe on my site, many thanks again Dean
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:23 AM.

   

 
X-Cart forums © 2001-2020