jaymc Posted May 5, 2009 Share Posted May 5, 2009 My website uses global header and footers loaded via php So, the same header is called on every single page and in the header it contains javascript such as http://lite.site.com/java.js If I load my website via https:// IE gives warnings that some elements are not being sent secure (http://lite.site.com/java.js) So, to get this working its basically saying my header must be changed to https://lite.site.com/java.js but that means I will be calling dozens of files securely on none secure pages which I dont want to do How can I get around this? Quote Link to comment https://forums.phpfreaks.com/topic/156962-https-issue/ Share on other sites More sharing options...
gnawz Posted May 5, 2009 Share Posted May 5, 2009 just change your security settings in your browser. From tools-> options Quote Link to comment https://forums.phpfreaks.com/topic/156962-https-issue/#findComment-826789 Share on other sites More sharing options...
jaymc Posted May 5, 2009 Author Share Posted May 5, 2009 Its not me, its 1k users I cant ask them all to do that Quote Link to comment https://forums.phpfreaks.com/topic/156962-https-issue/#findComment-826797 Share on other sites More sharing options...
xtopolis Posted May 6, 2009 Share Posted May 6, 2009 You could have PHP download the remote file and keep a cached version to display locally, updating only when the remote js file changes? Quote Link to comment https://forums.phpfreaks.com/topic/156962-https-issue/#findComment-827188 Share on other sites More sharing options...
Axeia Posted May 6, 2009 Share Posted May 6, 2009 It's the way it works, one insecure file leads to an insecure page. If you don't want it, don't use it. Quote Link to comment https://forums.phpfreaks.com/topic/156962-https-issue/#findComment-827783 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.