摘要:
例子: protected $archives;//声明全局属性 protected $person; function _initialize(){//初始化类 parent::_initialize();//调用父类 set_time_limit(0);//持续运行到程序结束 $this->ar 阅读全文
posted @ 2019-08-23 14:20
潇潇六月雨
阅读(226)
评论(0)
推荐(0)
摘要:
隐藏index.php 可以去掉URL地址里面的入口文件index.php,但是需要额外配置WEB服务器的重写规则。 以Apache为例,需要在入口文件的同级添加.htaccess文件(官方默认自带了该文件),内容如下: 如果用的phpstudy,规则如下: 如果index.php文件存放在publ 阅读全文
posted @ 2019-08-23 13:13
潇潇六月雨
阅读(203)
评论(0)
推荐(0)
浙公网安备 33010602011771号