脚本宝典收集整理的这篇文章主要介绍了php – 通过Apache在所有页面中插入HTML代码?,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
<Directory "/public_html/"> # PRePEnd to top PHP_value auto_prepend_file "/dir/path/banner.PHP" # Append to bottom PHP_value auto_append_file "/dir/path/footer.PHP" </Directory>
以下文章讨论了.htaccess如何允许您为每个页面请求添加/附加html:
http://davidwalsh.name/prepend-append-files-htaccess
以下文章讨论了如何使用.htaccess目录块:
以上是脚本宝典为你收集整理的php – 通过Apache在所有页面中插入HTML代码?全部内容,希望文章能够帮你解决php – 通过Apache在所有页面中插入HTML代码?所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。