I've been banging my head for the past 2 weeks trying to get file uploads to work. I've scoured the net and tried numerous examples and suggestions. None work. I've inherited a PHP Zend Framework application and am enhancing the application to do file uploads.
I have a view that has a dialog box that pops up when a button is pressed. The Form within the dialog is set with 'enctype', 'multipart/form-data'.
Things I've tried:
- Using Zend_Form_Element_File - using this framework object, I've tried receiving the file, but no files are uploaded and I receive nothing in getMessages, getErrormessages, or getErrors Nothing seems to be passed through the POST when using this control.
- using a regular 'File' input, I can see the file contents in the 'POST' under Firebug, but I can't access the underlying POST data to save the file. When I call isValid on the form, it is invalid due to: fileUploadErrorIniSize error: File 'xxx' exceeds the defined ini size.
- From my PHPINFO output:
I'm new to Zend, but if anyone can help me, I would greatly appreciate it.
For programming and general questions on Zend Framework
1 post • Page 1 of 1