View Single Post
  #14  
Old 04-03-2008, 07:21 AM
 
geckoday geckoday is offline
 

X-Wizard
  
Join Date: Aug 2005
Posts: 1,073
 

Default Re: Is there a way to use an external header.php file for the admin section?

Quote:
Originally Posted by balinor
I disagree. Call an image from http://anotherdomain.com and you WILL get a warning.
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.
__________________
Manuka Bay Company
X-Cart Version 4.0.19 [Linux]

UGG Boots and other fine sheepskin products
http://www.snowriver.com
Reply With Quote