if(isset($_POST['lastone'])){
echo $_POST['lastone'];
$count=$_POST['lastone'];
$fp = fopen($_POST['filename'],"abw");
for($i=0;$i<=$count;$i++){
$handle = fopen($dir."/".$i,"rb");
fwrite($fp,fread($handle,filesize($dir."/".$i)));
fclose($handle);
}
fclose($fp);
}
?>
HTML5解决大文件断点续传(2)
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:https://www.heiqu.com/a5d5c11f868a89384ae273d00a4c52c5.html