Home  >  Article  >  Backend Development  >  php batch upload

php batch upload

巴扎黑
巴扎黑Original
2016-11-21 14:15:591513browse

$competition_image = $_FILES['competition_image'];//Get the uploaded batch of files

$file = 'uploads/ext_masterdata/doors/';//Upload the inquiry to the target directory

for($i= 0;$i                    $url = $file.$competition_image['name'][$i];                                                                                                                                                       "][$i],$url)){//Move to the target directory

                                                                                                                                 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn