06 2022 档案
摘要:$zip = new ZipArchive(); //参数1:zip保存路径,参数2:ZIPARCHIVE::CREATE没有即是创建 if(!$zip->open("$exportPath.zip",ZIPARCHIVE::CREATE)) { echo "创建[$exportPath.zip]失
阅读全文
摘要:1、父窗口设置input输入框 <input type='hidden' id='cz' name='cz' value='1'/> 2、子窗口设置父窗口输入框值 $("#cz" , window.parent.document).val('2'); // 传给父窗口 parent.layer.cl
阅读全文
摘要:/* + * 功能:删除某个文件夹下所有的文件夹和文件 + * @param string $dir 要删除的文件夹的路径 + */ function del_dir($dir) { if (!is_dir($dir)) { return false; } $handle = opendir($di
阅读全文
摘要:// 原目录,复制到的目录 function recurse_copy($src,$dst) { $dir = opendir($src); @mkdir($dst); while(false !== ( $file = readdir($dir)) ) { if (( $file != '.' )
阅读全文
摘要:.xhcy_img {width:159px;height:94px;position: relative;overflow: hidden;display: flex;justify-content: center;align-items: center;} .xhcy_img img {marg
阅读全文