ksmatthews Posted December 18, 2007 Share Posted December 18, 2007 Hi There, I am familiar with the process of uploading files in php using the $_FILES super global. I would like to know more about uploading multiple files. I know that this can be done using arrays like this <input class = "default" name="myfile[]" type="file" /> <input class = "default" name="myfile[]" type="file" /> etc ... but this requires the invocation of the 'choose file' dialog multiple times. Is it possible to select and upload multiple files using just one 'choose file' dialog ?? regards, Steven M Link to comment https://forums.phpfreaks.com/topic/82193-uploading-multiple-files/ Share on other sites More sharing options...
PFMaBiSmAd Posted December 18, 2007 Share Posted December 18, 2007 No. Not with a normal html form. I believe it is also not possible using a flash upload form. It might be possible using a java applet, but I don't know. Link to comment https://forums.phpfreaks.com/topic/82193-uploading-multiple-files/#findComment-417684 Share on other sites More sharing options...
jvrothjr Posted December 18, 2007 Share Posted December 18, 2007 I have found that the issue that this would be client side not server side and php is server side. For multi file upload I created a custome ActiveX control program to do this on the client side and trigger Autosubmit with in the upload page. Basiclly loading a page for each file to be uploaded but automaticly. other wise its an array and they do work its just you do have to select each file via a separat dialog box. [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/82193-uploading-multiple-files/#findComment-417691 Share on other sites More sharing options...
haku Posted December 18, 2007 Share Posted December 18, 2007 You can do it with Ajax, but this isn't the right forum for that. Link to comment https://forums.phpfreaks.com/topic/82193-uploading-multiple-files/#findComment-417703 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.