02-include.sgml

来自「PHPLOB注释详细版 使用模板技术的好帮手 PHP最有用的东东了」· SGML 代码 · 共 20 行

SGML
20
字号
<!-- $Id: 02-include.sgml,v 1.1.1.1 2000/04/17 16:39:59 kk Exp $ --><sect1>Using <tt/include()/ instead of <tt/auto&lowbar;prepend&lowbar;file=/<p>If you do not want to use <tt/auto&lowbar;prepend&lowbar;file/ to load thePHPLIB core functionality, you can load the class definitionsfor the core manually on each page that requires them.You will have to define a valid<tt/include&lowbar;path=/-statement in your <tt/php3.ini/ fileas outlined previously to reflect the location of the <tt/*.inc/files. Then, all core functionality can be loaded with<tt/include("prepend.php3")/ as the first statement at the topof each page.To further optimize performance, you can minimize the contentsof the prepend file, if you do not need all core functionality.You <em/may/ leave out <tt/auth.inc/, <tt/perm.inc/ and<tt/user.inc/, if you do not require these features (note thatthere are dependencies among these classes!).

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?