![]() |
Making Contact Us Form Secure
Does anyone know the best way to make the contact us form link to https. I realize I could hard code all of the links, but I thought that there may be an easier way.
Thanks. |
Re: Making Contact Us Form Secure
Quote:
I like the idea too...love to find out. :) |
With help from tech support here is the solution.
Edit the "https.php" file located in your x-cart root directory. Near the top find this line: Code:
$https_scripts = array(); Then add any pages you want to be loaded as https to the list. For the contact us page it would be changed to Code:
$https_scripts = array("help.php?section=contactus"); Now the Contact Us page is loaded under https. This is just a small detail, but I guess every little bit of customer confidence helps. Bill |
Quote:
Thank you very much Bill, it works wonderfully. |
thanks very much, this looks quite useful
what would you put if you wanted more than one script? seperate them by commas? |
or find this bit and then just add in more pages which means you can switch them on or off with the setting in general settings
Code:
$https_scripts[] = "secure_login.php"; So just add extra $https_scripts[] = "XXXXXXX.php"; in |
All times are GMT -8. The time now is 06:00 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.