摘要: 1 <html> 2 <head> 3 <title></title> 4 </head> 5 <body> 6 <form> 7 <p>用户名 <input type='text' name='name'></p> 8 <p>密码 <input type='text' name='password'></p> 9 <p><input type='su 阅读全文
posted @ 2019-10-28 14:50 赵志远的博客 阅读(255) 评论(0) 推荐(0)
摘要: 1 exec("UPDATE `ms_goods` SET `nums`=`nums`-1 WHERE id=$id "); 5 echo "miao sha success"; 6 // 队列 链表 list :array 7 // array:先进后出 8 // list: 先进先出 9 ?> 1 connect("127.0.0.1",6379); 6 ... 阅读全文
posted @ 2019-10-28 14:47 赵志远的博客 阅读(150) 评论(0) 推荐(0)
摘要: 1 ############ssh key及 配置信息############# 2 设置Git的user name和email: 3 $ git config --global user.name "memory.qiu" 4 $ git config --global user.email "q 阅读全文
posted @ 2019-10-28 14:46 赵志远的博客 阅读(141) 评论(0) 推荐(0)
摘要: <?php 2 $str = "This is an Apple on eBay"; //定义字符串 3 $len = strlen($str); //字符串长度 4 $sup = []; //空数组,用来记录大写字母的位置 5 //循环字符串 6 for ($i=0;$i<$len;$i++){ 阅读全文
posted @ 2019-10-28 14:30 赵志远的博客 阅读(220) 评论(0) 推荐(0)
摘要: //控制器function show(Request $request){ $page=$request->page?$request->page:1; $size=4; $pian=($page-1)*$size; $sql=DB::select("select * from scores "); 阅读全文
posted @ 2019-10-27 20:11 赵志远的博客 阅读(170) 评论(0) 推荐(0)
摘要: function add(Da $req){ $file= $req->file("file"); //接前台值 $tu=$file->getClientOriginalName(); //图片路径 $data=$file->move("image",$tu); $all= $req->all(); 阅读全文
posted @ 2019-10-27 20:11 赵志远的博客 阅读(253) 评论(0) 推荐(0)
摘要: //批量刪除 阅读全文
posted @ 2019-10-27 20:10 赵志远的博客 阅读(141) 评论(0) 推荐(0)
摘要: <td><input type="checkbox" name="check" value="{$vo.id}">{$vo.id}</td> <input type="button" class="yes" value="全選"><input type="button" class="no" val 阅读全文
posted @ 2019-10-27 20:10 赵志远的博客 阅读(85) 评论(0) 推荐(0)
摘要: linux装软件方式: systemctl status firewalld.service 查看防火墙systemctl stop firewalld.service systemctl disable firewalld.service 开机 防火墙 不自启 ###Nginx#######安装篇 阅读全文
posted @ 2019-10-27 20:09 赵志远的博客 阅读(256) 评论(0) 推荐(0)
摘要: linux memcached安装yum -y install libevent libevent-deve yum list memcached yum -y install memcached memcached -h systemctl enable memcached.service vim 阅读全文
posted @ 2019-10-27 20:08 赵志远的博客 阅读(125) 评论(0) 推荐(0)