06 2022 档案

摘要:$zip = new ZipArchive(); //参数1:zip保存路径,参数2:ZIPARCHIVE::CREATE没有即是创建 if(!$zip->open("$exportPath.zip",ZIPARCHIVE::CREATE)) { echo "创建[$exportPath.zip]失 阅读全文
posted @ 2022-06-22 16:38 赵瑛 阅读(355) 评论(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 赵瑛 阅读(460) 评论(0) 推荐(0)
摘要:/* + * 功能:删除某个文件夹下所有的文件夹和文件 + * @param string $dir 要删除的文件夹的路径 + */ function del_dir($dir) { if (!is_dir($dir)) { return false; } $handle = opendir($di 阅读全文
posted @ 2022-06-14 15:24 赵瑛 阅读(341) 评论(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 赵瑛 阅读(267) 评论(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 赵瑛 阅读(47) 评论(0) 推荐(0)

版权所有 © 2022 沅来是澧

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