2
我試圖插入主旨的嵌入用PHP如下要點插入(GitHub上)的嵌入:錯誤在嘗試用PHP
<?php
echo "<script src='https://gist.github.com/schacon/4277.js'></script>";
?>
然而,看看到控制檯,如下則返回錯誤:
無法執行「寫」上的「文件」:這是不可能寫 到文檔中,除非 它明確地打開一個異步加載外部腳本。
我試過也:
echo "<iframe src='https://gist.github.com/schacon/4277.js'></iframe>";
和:
echo "<embed src='https://gist.github.com/schacon/4277.js'></embed>";
但是都返回:
拒絕在該 幀,因爲它顯示 'https://gist.github.com/schacon/4277.js'將'X-Frame-Options'設置爲'拒絕'。
我該怎麼做才能向他展示它的要點?或者不是這樣?
對不起,我的英語不好。