您现在的位置是:
    • curl_setopt_array(): cannot represent a stream of type Outpu

      在guzzle(版本6.3)设置了option中 debug为true 的时候,linux下没有问题,windows下报如下错误: curl_setopt_array(): cannot represent a stream of type Output as a STDIO FILE* // 发送请求 $resp = $instance-chain(v3/certifica....

      发布时间:2023-05-18 浏览量:
    • php 时间函数时间格式转换

      rfc3339标准时间转时间格式 function rfc3339_to_date($rfc3339_str) { $date_str = substr($rfc3339_str, 0, 19); $date_str = str_replace(T, , $date_str); return date(Y-m-d H:i:s, strtotime($date_str)); } $rfc3339_str = 2020-05-20T10:00:00+08:00; e....

      发布时间:2023-05-17 浏览量:
    • 通过IP获取实际地址位置

      问题描述: 已有参数IP,想通过IP获取位置。 解决办法: function getIpAddress($ip){ $url=http://ip.taobao.com/service/getIpInfo.php?ip=.$ip; $result = file_get_contents($url); $result = json_decode($result,true); var_dump($result);....

      发布时间:2023-04-14 浏览量:
    • tp5中phpmail插件的使用

      html页面中的代码 label class=control-label flspan请输入邮箱收到的验证码:/span/label div class=fl clearfix input class=form-control fl type=text id=usrEmlCode/ a href=javascript: class=code-btn fl id=emlLink onclick=getCodeByEmlForPa....

      发布时间:2023-04-11 浏览量:
    • Call to undefined function think\finfo_open()

      我在上传图片的时候需要获取图片的一些信息,这个时候需要安装fileinfo扩展,换了新的服务器之后,没有安装fileinfo扩展就会导致上传出现错误 。....

      发布时间:2023-03-20 浏览量:
    • js返回上一页各种操作方法

      问题描述: 对于返回上一页有几种方法,并且返回上一页刷新或者不刷新也有几种办法,现在总结一下。方便以后使用。 解决办法: window .history.go( -1 ); //返回上一页 window .history.back(); //返回....

      发布时间:2023-03-20 浏览量: