Home > Backend Development > PHP Tutorial > php batch upload

php batch upload

巴扎黑
Release: 2016-11-21 14:15:59
Original
1552 people have browsed it

$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

                                                                                                                                 

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template