上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: var flag = 0; //标记是拖曳还是点击 $('.move').on({ mousedown:function(e) { flag = 0; }, mousemove:function(e) { flag = 1; }, mouseup:function(e) { if(flag == 0 阅读全文
posted @ 2022-07-20 09:46 赵瑛 阅读(157) 评论(0) 推荐(0) 编辑
摘要: $zip = new ZipArchive(); //参数1:zip保存路径,参数2:ZIPARCHIVE::CREATE没有即是创建 if(!$zip->open("$exportPath.zip",ZIPARCHIVE::CREATE)) { echo "创建[$exportPath.zip]失 阅读全文
posted @ 2022-06-22 16:38 赵瑛 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 1、父窗口设置input输入框 <input type='hidden' id='cz' name='cz' value='1'/> 2、子窗口设置父窗口输入框值 $("#cz" , window.parent.document).val('2'); // 传给父窗口 parent.layer.cl 阅读全文
posted @ 2022-06-15 20:22 赵瑛 阅读(394) 评论(0) 推荐(0) 编辑
摘要: /* + * 功能:删除某个文件夹下所有的文件夹和文件 + * @param string $dir 要删除的文件夹的路径 + */ function del_dir($dir) { if (!is_dir($dir)) { return false; } $handle = opendir($di 阅读全文
posted @ 2022-06-14 15:24 赵瑛 阅读(318) 评论(0) 推荐(0) 编辑
摘要: // 原目录,复制到的目录 function recurse_copy($src,$dst) { $dir = opendir($src); @mkdir($dst); while(false !== ( $file = readdir($dir)) ) { if (( $file != '.' ) 阅读全文
posted @ 2022-06-14 15:21 赵瑛 阅读(256) 评论(0) 推荐(0) 编辑
摘要: .xhcy_img {width:159px;height:94px;position: relative;overflow: hidden;display: flex;justify-content: center;align-items: center;} .xhcy_img img {marg 阅读全文
posted @ 2022-06-09 11:12 赵瑛 阅读(37) 评论(0) 推荐(0) 编辑
摘要: <audio id="bgmusic" src="/static/media/flipsound.mp3" preload></audio> // audio音频 var audio = document.getElementById("bgmusic"); if (typeof WeixinJSB 阅读全文
posted @ 2022-05-25 09:55 赵瑛 阅读(526) 评论(0) 推荐(0) 编辑
摘要: .error {border:#ff0000 1px solid;background: rgba(195,5,5,.2);}<form action="#" method="post" onsubmit="return checkForm(this);"> </form> function che 阅读全文
posted @ 2022-05-24 16:38 赵瑛 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 在/etc/hosts.allow输入(其中192.168.10.88是你要允许登陆ssh的ip,或者是一个网段192.168.10.0/24) sshd:192.168.10.88:allow 在/etc/hosts.deny输入(表示除了上面允许的,其他的ip 都拒绝登陆ssh) sshd:AL 阅读全文
posted @ 2022-02-23 16:01 赵瑛 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 1、修改配置 vi /etc/ssh/sshd_config 2、在配置中找到 #ClientAliveInterval 0 #ClientAliveCountMax 3 3、修改为 ClientAliveInterval 30 ClientAliveCountMax 3 ClientAliveIn 阅读全文
posted @ 2022-02-23 15:24 赵瑛 阅读(577) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页

版权所有 © 2022 沅来是澧

如果有程序开发、网站建设等需求的请联系我,QQ:47419233