[Typo3-dev] BE upload problem

Thomas Murphy murphy at thepanemgroup.com
Sat Aug 28 02:06:33 CEST 2004


Hello,

don't know, maybe that's not a Typo3-problem but I'm really stuck...

I'm programming an own Main Module which gives a form to upload a 
text-file. "Input"-type is file and the enctype of the form is 
"multipart/form-data".
When i submit the form, my script get's an empty $_FILES, and when using 
  t3lib_div::GPvar("myfilename") I get a *string* containing the 
filename but not the *array* I want to have ([myfilename][tmp_name], 
[myfilename][name], ...)
Register Globals is on, using Typo3-3.5.0.
I used the same form with some other script on another server without 
Typo3 and it's working fine, with $_FILES - but as i said, this is no 
option, because $_FILES is just empty.
Could this be some charset problem?

I'm staring at the code for hours now, I'm thankful for any suggestions.

bye,
Murphy





More information about the TYPO3-dev mailing list