This is to see the online one, the specific link has forgotten, I manually tested the next
Note: Mobile is not supported, upload directly on Android and iOS card is dead (Baidu a large file upload plugin can be referenced, compatible with the mobile side)
Directly on the demo:
Front-end HTML and JS sections:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 strict//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >< HTML xmlns= "http://www.w3.org/1999/xhtml" lang= "ZH-CN" >
Background PHP section:
<?php$save_file_name = './upload/'. $_post[' filename '; Saved file name if (file_exists ($save _file_name)) {//////// If the file already exists, the file is split for at least the second time to upload this file_put_contents ($ Save_file_name, file_get_contents ($_files[' file ' [' Tmp_name ']), file_append);//parameter file_append means continue appending to file instead of overwriting}else{ $ddd = move_uploaded_file ($_files[' file ' [' Tmp_name '], $save _file_name);
JS No refresh upload large files