1. 卸载yum MYSQL systemctl status mysql systemctl stop mysql systemctl disable mysqld rpm -qa | grep -i mysql yum remove mysql-community-server-5.6.40-2.el7.x86_64 yum -y remove mysql-community-* rpm -qa | grep -i mysql find / -name mysql | xargs rm -rf rm -rf /var/lib/mysq...
1安装依赖包 yum -y install gcc gcc-c++ autoconf automake yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel 2安装Git yum install git 3 安装clone swoole源码 git clone https://github.com/swoole/swoole-src.git 4解压编译 cd swoole-src phpize ./configure make && make insta...
$pian = $page * $size; $jour = M('zy_journalism')->field('title,text,img,id,link,source,abstract,sort,crt')->select(); $count = count($jour); $end = ceil($count / $size); $sum = ($pian + 1) * $size; $count = M('zy_journalism')->count(); 视图: <div style="widt...
public function getopenid() { $APPID = 'wx1a8b582067ebb8a5';//自己配置 $AppSecret = '08fb395003441b482583b218d306280b';//自己配置 $file =file_get_contents("php://input"); $code=json_decode($file,true); if (!$code) { $code =$code['code']; } if ($code['code']) { $ur...
$openid = input('openid')?:exit('00'); $host = "https://12345678.market.alicloudapi.com"; $path = "/getapilist/ocr/idcard"; $method = "POST"; $appcode = ""; $headers = array(); array_push($headers, "Authorization:APPCODE " . $appcode); ...
$pian=($page-1)*$size; $sql=DB::select("select * from scores "); $count=count($sql); $end=ceil($count/$size); $res=DB::select("select * from scores limit $pian,$size"); return view("show",["data"=>$res,"end"=>$end]); ...
$openid =$_POST['openid']; $user = M("user")->where(["openid" => $openid])->find(); if (!$openid) { $data = array("result" => '2', "message" => "参数有误!"); //组装JSON echo json_encode($data); //返回 die; ...
if ($arr['lxdh'] != "") { $iphone = "/^1[34578]\d{9}$/"; $ip = preg_match($iphone, $arr['lxdh']); if (!$ip) { $data = array("result" => '3', "message" => "手机号格式不正确!"); //组装JSON echo json_encode($data); //返回 ...
linux装软件方式: systemctl status firewalld.service 查看防火墙 systemctl stop firewalld.service systemctl disable firewalld.service 开机 防火墙 不自启 ###Nginx###安装篇### rpm -ivh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm yum list ...
<div class="v32">大类 :</div> <div class="v33"> <input type="hidden" value="" class="dtype demo" id="dtype"> <input type="hidden" value="" class="mtype demo" id="mtype"> <input type="hidden" value="" class="biao demo" id="biao"> ...