PHP文件的引用

require "文件名" 或 include("文件名")

区别:若所包含文件出现错误,include()产生一个警告,require会导致程序终止

posted @ 2016-07-22 07:49  blogging  阅读(119)  评论(0编辑  收藏  举报