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 Quote Link to comment 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. Quote Link to comment 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] Quote Link to comment 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. Quote Link to comment 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.