Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Support multiple file uploads in a single field #1
Good question, I was pondering the same thing. So right now the field just stores the filename; the file folder + URL are associated with the field itself. So I was thinking of using the colon character as a delimiter to store all file upload names in the database field. A colon is an invalid character for filenames on both Mac + Windows boxes so it seems a sensible delimiter.
Cool, that sounds reasonable. I've got a couple of apps that display images on a page from particular submissions, so I was just thinking about how I'll handle that. I'll just have to parse multiple images out from colon delimiters. Should be easy enough, and the trouble well worth the ability to have multiple uploads in one a single field.