<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_65019"> <div class="blockcode"> <div id="code_I8M"><ol><li><?php<li>function recurse_copy($src,$dst) {<li> $dir = opendir($src);<li> @mkdir($dst);<li> while(false !== ( $file = readdir($dir)) ) {<li> if (( $file != '.' ) && ( $file != '..' )) {<li> if ( is_dir($src . '/' . $file) ) {<li> recurse_copy($src . '/' . $file,$dst . '/' . $file);<li> }<li> else {<li> copy($src . '/' . $file,$dst . '/' . $file);<li> }<li> }<li> }<li> closedir($dir);<li>}<li>?></li></ol></div> <em onclick="copycode($('code_I8M'));">复制代码</em> </div> <br> </td></tr></table> <div class="ptg mbm mtn"> PHP</div> <div id="comment_65019" class="cm"> </div> <div id="post_rate_div_65019"></div> <br><br>