[TYPO3-english] file upload in FE

Stephen Bungert stephenbungert at yahoo.de
Tue Nov 22 14:20:09 CET 2011

The inputs name is [data][photo] not ['data']['image']!

"Leen Strijk" <leenstrijk at tomaatnet.nl> schrieb im Newsbeitrag 
news:mailman.1.1321967779.30833.typo3-english at lists.typo3.org...
> Hello,
> In my fe extension I want to upload a file.
> But after submitting the piVars['data']['image'] gets lost somehow.
> If I change the file upload into a normal text input it is showed again.
> source code in the browser:
> <input type="file"
> name="tx_myext_pi2[data][photo]"
> id="tx_myext_pi2[data][photo]"
> value="" />
> I think I am overlooking something small here but just can't find it.
> Anyone know what i am missing?
> regards Leen

More information about the TYPO3-english mailing list