A bit of progress made, but still not quite right. I managed to stop getting the error. I had to change name=file to name=file_name.
The problem now is that when submitted, the form sends me an email, but I can't seem to get the uploaded file. In the documentation it says that one of the hidden variables should be:
<input type="hidden" name="path_to_file" value="/www/dir_where_file_goes/">
So I created a new directory on my server. Let's say it's called "uploads". Then in the form I put in the variable. For the value, I tried every
combination I could think of:
...well, you get the idea.
I even tried every combination without the trailing slash. Yet after submitting the form, I do not see any file in the directory on my server.
IMO, the variable is what is giving me the problem. Anyone know what path I should use? Any wisdom on this would be greatly