inwa Posted January 18, 2008 Share Posted January 18, 2008 function upload() { global $full_server,$show_files; $key=$_FILES['image']['tmp_name']; $name=$_FILES['image']['name']; $album=str_replace(".","",$_POST['album']); If(in_array(file_ext($name),$show_files)) { If(!file_exists($full_server.$album.$name)) { If(!move_uploaded_file($key,$full_server.$album.$name)) { return False; } Else { return True; } } } return False; } i use this script to upload image files, but i wanto make it MULTI upload, for example, browse all the files and then click to upload them all, how can i do that? Link to comment https://forums.phpfreaks.com/topic/86614-create-multi-upload-from-single-upload-please-help/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.