X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How do i make the "contact us" form work in https (https://forum.x-cart.com/showthread.php?t=23407)

a1deano 07-19-2006 06:50 AM

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

wjbrewer 07-19-2006 07:14 AM

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");
}


a1deano 07-19-2006 07:23 AM

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


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

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.