人五人六博客网
导航
首页
thinkPHP
数据库
Linux
PHP
前端
杂七杂八
每日简报
浏览器书签
搜索
首页
标签
PHP
2022/2/23
PHP
composer报错:A temporary file could not be opened to write the process output: fopen(C:\Users\ADMINI~1\AppData\Local\Temp\2\sf_proc_00.out.lock): failed to open stream: No such file or directory
问题:在winserver2012服务器上安装composer 后,使用composer报错 A temporary file could not be opened to write the process output: fopen(C:\Us...
1228阅读
0评论
2021/12/2
PHP
cURL error 60: SSL certificate problem: unable to get local issuer certificate
一、进入https://curl.haxx.se/docs/caextract.html随便选一个下载到本地二、编辑php.ini文件 curl.cainfo="文件地址" //注意对应PHP版本目录下的ini 三、开启SSL扩展,并重启服务器
607阅读
0评论
2021/11/26
PHP
PHP获得数组交集与差集的方法
一、数组的交集 array_intersect()array_intersect()函数返回一个保留了键的数组,这个数组只由第一个数组中出现的且在其他每个输入数组中都出现的值组成。其形式如下: array array_intersect(array ar...
454阅读
0评论
2021/10/26
PHP
Emlog获取所有文章浏览量代码
获取所有文章访问总量: <?php $db = Database::getInstance(); $slfwlNum = $db->fetch_array($db->query("SELECT sum(views) as v...
651阅读
0评论
2021/10/19
thinkPHP
tp5.1如何执行存储过程?如何执行sqlserver 存储过程函数?
执行代码: Db::query('exec Update_Auditing_Order @idstr='.$id.' ,@zdr='.$adminInfo['oper_name']); 返回-1即成功sqlserver存储过程函数: -- ==========...
1026阅读
0评论
2021/10/14
PHP
Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini
Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0 &nb...
763阅读
0评论
2021/10/11
PHP
PHP数组中去掉空值
<?php $array = array('a' => "jhdsfhjdfsjk", 'b' => "ewropl",'c' =>"cde",'d' =>""); $arr= array_filter($arra...
590阅读
0评论
2021/10/11
PHP
php 字符串的截取和查找
php 字符串的截取和查找 一、strstr 定义:strstr(str1,str2) 函数用于判断字符串str2是否是str1的子串。如果是,则该函数返回str2在str1中首次出现的地址;否则,返回NULL。 $email = '13366540...
679阅读
0评论
«
1
...
3
4
5
...
7
»