摘要: // 替换 public function replace(Request $request, $bid){ $cond = $request->only('id', 'keyword', 'show_positions');// var_dump($cond);die; return Api::s 阅读全文
posted @ 2024-03-27 14:27 哼哼哈兮啊 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 点击查看代码 ``` ``` 在 PHP 中,使用 Fiber 来发送并发请求是一种相对新的方法,可以实现高并发的请求: 点击查看代码 ``` ``` 阅读全文
posted @ 2023-09-01 17:03 哼哼哈兮啊 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 安装 VSFTPD使用 yum 安装 vsftpd:yum install vsftpd -y 启动 VSFTPD安装完成后,启动 FTP 服务:service vsftpd start启动后,可以看到系统已经监听了 21 端口:netstat -nltp | grep 21此时,访问 ftp:// 阅读全文
posted @ 2017-06-07 17:49 哼哼哈兮啊 阅读(231) 评论(0) 推荐(0) 编辑
摘要: $this->show($infoa, 'utf-8', 'text/xml');//xml输出 <a href="javascript:history.go(-1);"><i class="icon-goback"></i></a>//保持原样 阅读全文
posted @ 2017-06-02 09:05 哼哼哈兮啊 阅读(260) 评论(0) 推荐(0) 编辑
摘要: if ($loadface) { if (!empty($info['headimgurl'])) { $filepatch = 'weixin/' . substr(md5($openid), 0, 3) . '/'; $dir = BASE_PATH . '/attachs/' . $filep 阅读全文
posted @ 2017-04-24 14:09 哼哼哈兮啊 阅读(159) 评论(0) 推荐(0) 编辑
摘要: public static function LogWirte($Astring)//日志方法 { $path=APP_PATH . 'Lib/Payment/logs/'; $file = $path."Log".date('Y-m-d',time()).".txt"; if(!is_dir($p 阅读全文
posted @ 2017-03-09 15:11 哼哼哈兮啊 阅读(86) 评论(0) 推荐(0) 编辑