问题描述
是否可能iframe
来自服务器的源文件而不是URL
的含义,
---> Instead of
<iframe width='100%' height='100%' src='http://example.com/file.PHP' allowTransparency='yes' frameborder='no' scrolling='no' id='adminheader' > </iframe>
---> Load Server Side File
<iframe width='100%' height='100%' src='/home/username/public_html/header.PHP' allowTransparency='yes' frameborder='no' scrolling='no' id='adminheader' > </iframe>
旨在仅按原样加载标头,并尽可能使用某些样式和脚本间接访问标头。
解决方法
否,因为iframe是在客户端呈现的。但是我不明白为什么不能只用URL加载它们。
<iframe src='http://example.com/header.php'>