Does anyone know how I can turn this code:
into an external link *WITHOUT* breaking ssl?PHP Code:<?php echo zen_image(DIR_WS_IMAGES . 'tw.gif'); ?>
Does anyone know how I can turn this code:
into an external link *WITHOUT* breaking ssl?PHP Code:<?php echo zen_image(DIR_WS_IMAGES . 'tw.gif'); ?>
Thank you,
autoace
In what file is this snippet and exactly what is it you are attempting to do?
Zen-Venom Get Bitten
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
That is what I figured, just needed confirmation.
If I may, what I'm trying to do is to provide a link to my twitter page in my tpl_footer file and the external url is http *NOT* https.
Is there way to hard-code an external url with http and not break my ssl on ssl enabled pages?
Thank you,
autoace
A link will be okIf I may, what I'm trying to do is to provide a link to my twitter page in my tpl_footer file and the external url is http *NOT* https.
Is there way to hard-code an external url with http and not break my ssl on ssl enabled pages?
If you were fetching an image src= from off site with http then that would be an issue
Zen-Venom Get Bitten
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
ya, just use $request_type to see whether it's SSL, and if it is, then output the https URL, otherwise the http URL
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.