摘要:
<?phpclass FileCache { public $keyPrefix = ''; public $cachePath = ''; public $cacheFileSuffix = '.bin'; public $directoryLevel = 1; public $gcProbabi 阅读全文
2018年1月21日 #
摘要:
"D:\phpStudy\WWW\tubiao\libchart\libchart\classes\view\chart/../../../images/PoweredBy.png" D:\phpStudy\WWW\tubiao\libchart\libchart\classes\view\char 阅读全文
摘要:
'PHP_SELF' 当前执行脚本的文件名,与 document root 有关。例如,在地址为 http://example.com/test.php/foo.bar 的脚本中使用 $_SERVER['PHP_SELF'] 将得到 /test.php/foo.bar。__FILE__ 常量包含当前 阅读全文
摘要:
header() 函数向客户端发送原始的 HTTP 报头。 认识到一点很重要,即必须在任何实际的输出被发送之前调用 header() 函数 (在 PHP 4 以及更高的版本中,您可以使用输出缓存来解决此问题): PHP header 的几种用法,你知道几种?1. 跳转页面 2. 声明content- 阅读全文
摘要:
<?phpclass sqlsafe {//(and|or)\\b 表示以and和or结尾的单词如:aand,band,都可以匹配//如果匹配and或or则使用 \\b(and|or)\\b来匹配单词;// \\/ 匹配/ 在写法上\/表示意义相同// \\* 匹配* 在写法上\*表示意义相同// 阅读全文