When I embed an external HTTP iframe into my HTTPS page, I get a mixed content error message:
<iframe src="http://www.example.com/"></iframe>
To work around this limitation I'd like to echo the external page from my own domain. How should I do that?
Thanks!
Call the
httppage withcurl(or any other lib), and print out the reponse into somediv(thisdivwill be instead of theiframe).Please attach your
PHPpage (who contains theiframe), if you want more direction...proxy.php
page.html
You must be sure that
"http://url-of-iframe/"is a trusted site! otherwise, he can load malicious content into your page!