I have downloaded stackoverflow’s index page as a sample to show it in my web project. In this project I have an IFrame in which I show the page’s contents but the source is preventing me to show it in IFrame. Now I have 2 questions:
- How can I overcome this problem? (Note: I don’t want to show stackoverflow.com in an IFrame so there’s no security problems for this site).
- Is there a better way to show a HTML page inside another one?
Thank you.
I used this PHP function to remove any javascript from the page’s source: