Jump to content
xisto Community
Sign in to follow this  
kvarnerexpress

Secure Page Includes Non-secure File

Recommended Posts

The basic page layout I am working with has several includes on it (header.php, rightcolumn.php, leftcolum.php and so on), and it is on httpdocs folder. I have also instanced some classes wich I call at the beginnig of the home page.My problem arises when I try to run another page wich is supposed to be secure (placed, obviously, at httpsdocs folder), and both secure and non-secure page has the same layout?. What should I do? Make exact copies of the included files, classes and images inside the secure folder? Is there a way to call my classes, includes from SSL folder, without having to copy them twice AND avoiding secure and non-secure content browser's warning?Thank you!kvarnerexpress

Share this post


Link to post
Share on other sites

I can only think of one way to include the non-secure files in the secure file without the warning. You would have to have files in the secure folder that use PHP Filesystem functions to pull the content out of the non-secure files. I don't know any other way. Please let me if you find another way.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.