[SOLVED] Issues with uploading files
Posted: Sun Aug 05, 2012 6:27 am
I am writing a module that involves uploading a file as part of a form. I created the input using CreateFileUploadInput. From looking at it the input is being created correctly. When I submit the form, I get nothing in the processing script. If I do a var_dump($_FILES) is shows an empty array.
I tried uploading a file using a custom field in the news module and that works fine, so it would seem it isn't a general configuration or permissions issue. I also tried the var_dump at the top of the news script and it showed what I would have expected.
I am at a complete loss as for why it seems to ignore the file upload field in the form. Any suggestions would be very welcome.
I tried uploading a file using a custom field in the news module and that works fine, so it would seem it isn't a general configuration or permissions issue. I also tried the var_dump at the top of the news script and it showed what I would have expected.
I am at a complete loss as for why it seems to ignore the file upload field in the form. Any suggestions would be very welcome.