Reply to Re: Multiple File Uploads

Re: Multiple File Uploads new!
by colin, 13 years, 2 months ago
> From what I understand, the loop is only needed if I'm uploading
> multiple files with the same name, correct?


Yes. In your case, you just have a bunch of different fields, you don't have a multiple upload par se.

The rest of your problem (entries get deleted in the database) is not related to the class. You must have a problem of logic in your code. I would also recommend not using rand() to generate a filename, as you may have collisions (even though the class will rename files of the filemane already exists)Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important