Re: codeigniter 'secure, non-secure content' pop up message in IE7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 9, 2009 at 6:56 PM, Jan G.B. <ro0ot.w00t@xxxxxxxxxxxxxx> wrote:

> 2009/4/9 Yannick Mortier <mvmortier@xxxxxxxxxxxxxx>:
> > 2009/4/9 9el <lenin@xxxxxxxxxxxxx>:
> >> ---------- Forwarded message ----------
> >> From: Sabrina Akter <lizzeelike@xxxxxxxxx>
> >> Date: Thu, Apr 9, 2009 at 1:12 AM
> >> Subject: codeigniter 'secure, non-secure content' pop up message in IE7
> >> To: phpexperts@xxxxxxxxxxxxxxx
> >>
> >>
> >> Hello Experts,
> >>
> >> I badly need your help. My developed site's some pages are HTTPS, and
> >> other parts are HTTP. When I try to access the HTTPS page in IE it
> >> comes up with "secure & non-secure content " warning. I search on
> >> google to find out the solution. but almost every site suggest to
> >> change the IE setting. But, its not wish way to tell every visitor's
> >> to change  the IE setting. So, I want to stop this message with some
> >> coding. while searching, I found some advice to make all image to
> >> HTTPS, for https pages, I followed that, but still i am getting this
> >> same pop up warning. Is there any other way to solve my problem? Any
> >> one can help me on it? Please do reply.
> >>
> >> With Regards
> >> --------------------
> >> Sabrina Akter
> >> Web App. Developer
> >> 'IBACS' - www.ibacs.co.uk
> >>
> >> --
> >> PHP General Mailing List (http://www.php.net/)
> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >>
> >
> > Look at the generated source code and try to find any files that are
> > included by absolute URL (search for http://) those have to be
> > eliminated. Make sure everything uses relative paths or comes over
> > SSL.
> >
>
> Yes. or absolute paths without protocoll and host. ;)
> works:
> src="/foo.bar"
> src="./foo.bar"
> src="https://otherserver/foo.bar";
>
>
> And also be on the lookout for blank src= attributes like in a iframe
> <iframe src="" id="foo">
> A bug in IE will show the mentioned popup when you have such code.
> Solution: src="javascript:void(0)"
>
> Bye


Great !  making all img, CSS, js to https solved it :)

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux