1

I checked almost more then 100 answers about this question into Stackoverflow, but none of them resolved my problem. So i have a ready code about this problem, what is causing this.

<iframe src="{$ad_info.url}" id="pgl" class="surfer_frame" frameborder = "0"></iframe>

Can someone to give me some tip what to change here, so HTTPS sites to be shown into iframe. Thanks

DrMTR
  • 499
  • 1
  • 14
  • 35
  • 2
    The remote site won't allow you to show their site in a frame, because their web server has `X-Frame-Options` set to `sameorigin`. This is a security feature. – aynber Dec 18 '19 at 19:30
  • So i must contact server tech to help me about this? Right? Or i can do something. – DrMTR Dec 18 '19 at 19:47
  • Yeah, contact them. If they'll allow it, then they can add you to a whitelist. – aynber Dec 18 '19 at 19:48
  • 1
    Does this answer your question? [How Can I Bypass the X-Frame-Options: SAMEORIGIN HTTP Header?](https://stackoverflow.com/questions/2783095/how-can-i-bypass-the-x-frame-options-sameorigin-http-header) – Matt Dec 18 '19 at 21:16

0 Answers0