I find this doesn't work:
<iframe src="http://www.yahoo.com"> </iframe>
I have read this question, but I don't understand what they mean by add:
<?php
header('X-Frame-Options: GOFORIT');
?>
I tried to add this to the top of my html file(change it to php file, of course), and my php file became:
<?php
header('X-Frame-Options: GOFORIT');
?>
<iframe src="http://www.yahoo.com"> </iframe>
I run it in my appserv(with php 5.2.6), and it doesn't work. Could anybody explain what should I do exactly to overcome this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…