[TYPO3-ect] uploads support in cool
Johannes Künsebeck
hnes_k at gmx.de
Mon Nov 5 00:56:05 CET 2007
Hello all,
I have written a small document management extension with lib/div in an early version, and it was
real fun to code that way, especially with the php-templating and the forms lib. Thanks Elmar and
the whole MVC supporters.
What I really missed (in both the pi_base and lib/div) was a nice way to work with fe_user-uploaded
files.
There is the tx_lib_parameters object with the GPvars, but to access files I had to walk through
the $_FILES-array by myself, including the strange way php handles the array keys in _$FILES, then
validate the file-type and call move_uploaded_file. I did this by extending the tx_lib_parameters
and tx_lib_form_base class and it worked well for my needs , but felt a bit hackish.
I think FE file-upload is a quite common scenario. So I like to discuss with you: Is it useful to
have this functionality in cool? Is this in the scope of cool?
Regards
Hannes
More information about the TYPO3-team-extension-coordination
mailing list