This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2005 > PHP Includes





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author PHP Includes
Gooner

2005-08-18, 7:21 pm

Hi all

I've got a page on our web server that is contained within the SSL directory,
therfore accessed by https:// in the browser.

Within this file, I need to use a PHP INCLUDE function, to include some code
from another page.

When I do thi, I get the IE message of "This page contains secure & nonsecure
items. Do you want to display the nonsecure items".

If there any way to stop it doing this?

The include files are also being accessed vis the follwing code, but still
won't clear the message:


include(str_replace("httpdocs","httpsdocs",$_SERVER['DOCUMENT_ROOT']).'/myinclud
es/include_file.php');

Please help

Thanks

Mark

2005-08-18, 7:43 pm

Everything on the page, includes, images etc. need to be in the secure
folder to avoid this message

"Gooner" <webforumsuser@macromedia.com> wrote in message
news:de1ptv$77l$1@forums.macromedia.com...
> Hi all
>
> I've got a page on our web server that is contained within the SSL

directory,
> therfore accessed by https:// in the browser.
>
> Within this file, I need to use a PHP INCLUDE function, to include some

code
> from another page.
>
> When I do thi, I get the IE message of "This page contains secure &

nonsecure
> items. Do you want to display the nonsecure items".
>
> If there any way to stop it doing this?
>
> The include files are also being accessed vis the follwing code, but

still
> won't clear the message:
>
>
>

include(str_replace("httpdocs","httpsdocs",$_SERVER['DOCUMENT_ROOT']).'/myin
clud
> es/include_file.php');
>
> Please help
>
> Thanks
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews