Multi-file uploading

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pretzelmaster
Forum Newbie
Posts: 1
Joined: Thu Jun 26, 2008 11:56 am

Multi-file uploading

Post by pretzelmaster »

Hello,

I want to make a multiple image uploader for image uploading. The users will have entire folders of images. Ideally, the user would be able to select multiple images at once from a folder, and upload them. I'm not sure if this is possible, but I need a good method of easy multiple image uploading, so the user doesn't have to select each individual image.

What is the best method or is there free software that already does this? Thanks in advance.
:D
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: Multi-file uploading

Post by jayshields »

Burrito's snippet might be of interest.
relay_denied
Forum Newbie
Posts: 1
Joined: Fri Jun 27, 2008 12:24 am

Re: Multi-file uploading

Post by relay_denied »

Hi,

I have written an app that does just this. In fact it also posts information about the files in a MySQL DB for some dynamic viewing pages work. I can supply what I have if you like, it's kinda long to post here I think. It's about 230 lines, I'll post it if all think that's OK. I am new to the forum so trying to be careful. :oops: I did just spend a bunch of time though :banghead: for a problem I think now has to do with the total size of images selected to upload. It works fine until you reach a any number of files totaling somewhere around 6.5 MB. At this point the $_POST and $_FILE variables seem to lose their values and the app breaks down. Have either of you experienced this? I would be happy to share what I have as well.
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: Multi-file uploading

Post by jayshields »

Have your had a look at your php.ini settings? Sounds like it could be something in there messing things up.
Post Reply