We have the opposite problem. We want to run a small chunk of code only under HTTP. Could we change the "on" variable in the first line to "off" and that would resolve my problem?
What we're having problems with is HTML banners that are being called by a PHP script. In any HTTPS areas of the site we get that annoying pop-up.
Quote:
{if $smarty.server.HTTPS eq "on"}
<center>
{literal}
<!--
PHP script code goes here...
//-->
<script type="text/javascript">TrustLogo("https://ukdvdr.co.uk/trustssltrustlogo.gif", "WWARE", "none");</script>
{/literal}
</center>
{/if}
|
__________________
X-Cart Pro v3.5.12 (FreeBSD), Apache 1.3.31, X-Conf, X-AOM, X-FancyCat, Rec. Viewed, MM Pro, Stock Not., News Module, Recently Viewed, Banner/Ad, PHP 4.3.9, MySQL server 3.23.54, Perl 5.00503
|