摘要:
// 替换 public function replace(Request $request, $bid){ $cond = $request->only('id', 'keyword', 'show_positions');// var_dump($cond);die; return Api::s 阅读全文
摘要:
点击查看代码 ``` ``` 在 PHP 中,使用 Fiber 来发送并发请求是一种相对新的方法,可以实现高并发的请求: 点击查看代码 ``` ``` 阅读全文
摘要:
安装 VSFTPD使用 yum 安装 vsftpd:yum install vsftpd -y 启动 VSFTPD安装完成后,启动 FTP 服务:service vsftpd start启动后,可以看到系统已经监听了 21 端口:netstat -nltp | grep 21此时,访问 ftp:// 阅读全文
摘要:
$this->show($infoa, 'utf-8', 'text/xml');//xml输出 <a href="javascript:history.go(-1);"><i class="icon-goback"></i></a>//保持原样 阅读全文
摘要:
if ($loadface) { if (!empty($info['headimgurl'])) { $filepatch = 'weixin/' . substr(md5($openid), 0, 3) . '/'; $dir = BASE_PATH . '/attachs/' . $filep 阅读全文