Jump to content

Archived

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

gowindholz

"if" "then" command for ssl pages

Recommended Posts

I am having an issue with my live chat tracking software throwing security errors on my https pages and was wondering if any one knew of the "if then" command for php. In html I used this but I dont know the php version.

 

<ss:if test="$request.getScheme() == 'https'">

 

--secure code--

 

<ss:else/>

 

--unsecure code---

 

</ss:if>

 

Any help would be apperciated.

Share this post


Link to post
Share on other sites

Hi,

 

Look through some of the existing store php files for the format. or a PHP tutorial, But if, else, and elseif are used in php.

 

Thanks


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Example code here


If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Share this post


Link to post
Share on other sites

×