Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have googled my brains out for this answer, but maybe I am not searching correctly with the correct terms. Surely I am not the only one to thing of this issue though.

Lets say I have inc_header.php file that includes images with absolute paths since it is my header. ie. http://www.sitename.com/images/narf.jpg

Well, because these are absolute paths NOT set to https, the browsers are going to give me flack. 95% of my website doesn't need to be secured, only the payment process. However, the header STAYS THE SAME on every single page.

I did find this link: How to include PHP files that require an absolute path? However, this requires setting a variable, which breaks anything when I am working in design mode in dreamweaver.

I feel ridiculous for asking such a question that should be obvious to me, but alas, here I am. Thank you for any thoughts and help you may be able to provide.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.