Hello-
I have a small problem. I keep getting this error on my secure pages:
This page contains both secure and nonsecure items. Do you want to display the nonsecure items?
This happens because I use some includes to set the layout of the page (menus, title bar, etc.) that are the same throughout the site.
I include this using the following:
$root = "http://www.domain.com";
include "$root/directory/file.ext";
There are several includes on the page.
Now, obviously, the error is being caused by $root being set to HTTP. However, if I change the $root to HTTPS, the page loads without the error message, but none of my linked files display (no menus, no title bar, etc.). It fails to include the files when $root is set to HTTPS ... this won't work because I also include some database setup files that allow me to connect to various databases.
So... the question is, how can I include files into a secure page without getting the error warning? Surely there is a way?
Thanks,
Sledge