Jul 18th, 2011, 10:16 AM
Hi Jim,
So you mentioned the submissions are working now? It's all good?
Sorry! My mistake: what you have is correct: I meant "file_data" not "files".
Yeah, Form Tools does that automatically to prevent overwriting files with the same name (all files for a field are uploaded to the same folder, so it's careful to rename them in case there's a conflict). It also strips out any characters other than 0-9, a-Z, and _. This is just to ward against problems with weird characters confusing some filesystems.
- Ben
So you mentioned the submissions are working now? It's all good?
Quote:3(b) I did not have to change this but you mention "files" => $_FILES key-value pair Should I have that in the Form php code at top (see attached image of my php code)
Sorry! My mistake: what you have is correct: I meant "file_data" not "files".
Quote:The images changed names but I wonder if that if part of the normal process.
The images became named "files.jpg" and "1_files.jpg"
Yeah, Form Tools does that automatically to prevent overwriting files with the same name (all files for a field are uploaded to the same folder, so it's careful to rename them in case there's a conflict). It also strips out any characters other than 0-9, a-Z, and _. This is just to ward against problems with weird characters confusing some filesystems.
- Ben