I've written a form to allow people to upload (a variable number of) files.
On submission it uploads the files and emails the uploader and the administrator with a short thank-you message with a list of the files uploaded. All good so far.
What I can't find a way to do is to list the file names that were uploaded, as opposed to the names they were saved as.
I've taken my cue from the file upload demo to add the datetime to the filenames, great idea, but I'd rather not put that name in the email.
With a debugger I can see the original name is available, but I just can't seem to get it into the email. I've scoured the forums here and banged my head on the desk, a lot, but I still can't figure out how to do it. Is there a way?
On submission it uploads the files and emails the uploader and the administrator with a short thank-you message with a list of the files uploaded. All good so far.
What I can't find a way to do is to list the file names that were uploaded, as opposed to the names they were saved as.
I've taken my cue from the file upload demo to add the datetime to the filenames, great idea, but I'd rather not put that name in the email.
With a debugger I can see the original name is available, but I just can't seem to get it into the email. I've scoured the forums here and banged my head on the desk, a lot, but I still can't figure out how to do it. Is there a way?