php 执行自动包含文件

在配置文件php.ini中有两个选项auto_prepend_fileauto_append_file

使用这些指令包含的文件可以像使用include()语句包含的文件一样

auto_prepend_file = “/home/username/include/header.php”
auto_append_file = “/home/username/include/footer.php”