首页
发现
资讯
转换工具
搜索与收藏
网址导航
标签
搜索
APP下载
注册
登录
首页
资讯
转换
收藏
网导
发现
搜索
注册
登录
搜索
LisonRead
本次搜索耗时
0.177
秒,为您找到
322
个相关结果.
搜书籍
搜文档
session过期 thinkphp(TP3.1)
94
2020-11-13
《Thinkphp》
session过期 thinkphp(TP3.1) Base/Common/functions.php: function session($name,$value='') { if(isset($name['expire'])) ini_set('session.gc_maxlifetime', $name['expire']);ini_...
php正则表达式匹配座机电话、手机号码 $isM
94
2018-07-06
《PHP》
php正则表达式匹配座机电话、手机号码 $isMob="/^1[3-5,8]{1}[0-9]{9}$/"; $tel='010-87876787'; $isTel="/^([0-9]{3,4}-)?[0-9]{7,8}$/"; if(preg_match($isTel,$tel)){ echo "是电话号码"; } exit; if(!...
查看差异:git diff abc/x.php撤回
94
2020-09-23
《Git相关》
查看差异: git diff abc/x.php 撤回 git checkout abc/x.php 查看状态: git status git checkout -b和git switch -c的区别 1. 命令语法:`git switch -c` 用于创建和切换到新分支,命令语法为:git switch -c <new_branch>`git c...
thinkphp版本号 1、use think\A
93
2021-01-14
《Thinkphp》
thinkphp版本号 1、use think\App;$cc=App::VERSION; dump($cc);exit; 2、thinkphp\library\think\App.php
PHP的curl_setopt 请求方法封装fun
93
2019-08-12
《PHP》
PHP的curl_setopt 请求方法封装 function doPost($url, $jsonData) { return $this->httpPostJson($url, $jsonData); } /** * post 业务请求 * @param string $url...
用php连接mysqli示例下面是一个用PHP连接
93
2023-04-09
《PHP》
用php连接mysqli示例 下面是一个用PHP连接MySQL的简单示例: ```php php //连接数据库 $servername = "localhost"; //数据库服务器名 $username = "用户名"; //数据库用户名 $password = "密码"; //数据库密码 $dbname = "数据库名"; //数据库...
限制同一IP地址在特定时间内的请求次数(点击量)
93
2024-12-20
《redis》
<? php // 连接到Redis服务器 $redis = new Redis (); $redis -> connect ( '127.0.0.1' , 6379 ); // 如果设置了密码,取消注释并填写密码 // $redis->auth('your_password'); // 设置最大访问次数和时间间隔...
ajax跨域请求scriptvarapi="htt
93
2018-06-12
《其它前端》
ajax跨域请求 <script> var api = "http://abc.cn/index.php/Admin/Sboot/portshu?lisonpush=1&callback=?"; $.ajax({ dataType:"jsonp", url:api, success...
thinkphp模板中获取控制器或方法名 {$Th
92
2020-10-01
《Thinkphp》
thinkphp模板中获取控制器或方法名 {$Think.MODULE_NAME} {$Think.ACTION_NAME}
php在window或linux下的完整路径写法d
92
2021-03-18
《PHP》
php在window或linux下的完整路径写法 define('UPLOAD_PATH' ,dirname('__FILE__' ) .DIRECTORY_SEPARATOR.'upload' ) ; //图片绝对路径 $fileUrl = $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST...
1..
«
10
11
12
13
»
..33