-
16700 PHP | 2020年06月05日
- //返回随机字符串function randabc(){ $str="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; return str_shuffle($str);} //要加密的文件名称$filename = 'test.php'; $...查看详细
-
12840 PHP | 2020年06月05日
- <?phpempty($_SERVER['HTTP_VIA']) or exit('Access Denied');session_start(); $seconds = 10; //时间段[秒]$refresh = 5; //刷新次数 //设置监控变量$cur_time = time();if(isset($_SESSION[...查看详细
-
13550 ThinkPHP | 2020年01月17日
- 1.空模块定义'exception_handle' =>'\\app\\common\\exception\\Http',<?phpnamespace app\common\exception;use Exception;use think\exception\Handle;use think\exception\HttpException;class Http&nbs...查看详细
-
13710 ThinkPHP | 2020年01月17日
- $list = User::all();if($list) {$list = collection($list)->toArray();}...查看详细
-
13460 ThinkPHP | 2020年01月17日
- [ThinkPHP3.1.3]__PUBLIC__解析的问题在二级目录下开发基于ThinkPHP项目,有时会发现__PUBLIC__不太一样。例如说在开发个论坛,项目在localhost/bbs/下,在模版中使用__PUBLIC__时,会得到/bbs/Public另外又在开发个BoKe时,项目在localhost/blog下,在模版中使用__PUBLIC__时,却有可能会得到/Public路径一旦不对那Public下的css,js,img全都挂了。解决方案一首先,最简单的就是自己去配置__PUBLIC__的值,在config...查看详细
-
13060 ThinkPHP | 2020年01月17日
- 速查表https://yangweijie.github.io/thinkphp-lts/5.0完全开发手册https://www.kancloud.cn/manual/thinkphp5/1180035.1完全开发手册https://www.kancloud.cn/manual/thinkphp5_1/353946composer中文学习https://www.kancloud.cn/thinkphp/composer码云https://gitee.com/ThinkPHP5-数据库基本操作https://www.cnblogs.c...查看详细
-
11480 ThinkPHP | 2020年01月17日
- Thinkphp5做数据搜索需要带关键词分页,如何将查询条件带入到分页中,本文详细介绍Thinkphp5分页带参数一、基本使用方法:$list = Db::name('user')->where('status',1)->paginate(10);二、查看thinkphp5paginate()函数paginate()函数可以带三个参数:$listRows 每页数量数组表示配置参数$simple 是否简洁模式或者总记录数...查看详细
-
11470 ThinkPHP | 2020年01月17日
- 第一种,绑定到模块的控制器文件define("BIND_MODULE",'admin');绑定admin模块到入口文件,即:localhost--->访问到admin模块的index控制器的index方法。define("BIND_MODULE",'admin/index');绑定admin模块index控制器到入口文件,即:localhost/demo--->访问到admin模块的index控制器的demo方法。即:localhost/demo...查看详细
-
13990 PHP | 2019年12月10日
- 1,规格名称表CREATE TABLE `fa_item_attr_key` ( `attr_key_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `item_id` int(10) unsigned DEFAULT '0', `attr_name` varchar(5...查看详细
-
11920 PHP | 2019年12月03日
- 帝国cms常用函数所在位置归总,大家直接ctrl+f一下就能找了printerror()/e/class/connect.phpline132query()/e/class/db_sql.phpline10fetch1()/e/class/db_sql.phpline30fetch()/e/class/db_sql.phpline22checklevel()/e/class/functions.phpline3414insert_dolog()/e/class/functions.phpline36...查看详细
‹‹
‹
1
2
3
›
››
-
« 2023年8月 »
一 | 二 | 三 | 四 | 五 | 六 | 日 |
| 1 | 2 | 3 | 4 | 5 | 6 |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 | |
- 网站分类
-
- 搜索
-
- 文章归档
-