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? Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.