Quote:
Originally Posted by balinor
|
External <> security errors.
Calling an external file wrong causes security errors.
You should call an external file using http when in not in secure mode and using https when in secure mode - thats easy to do and as I mentioned is done for google analytics.
Code:
<script src="{if $smarty.server.HTTPS eq "on"}https://ssl{else}http://www{/if}.google-analytics.com/urchin.js" type="text/javascript">
But that's NOT what AgentBristow was trying to do. He was trying to include php code server side which is a whole different kettle of fish.