[Typo3] Mail form file upload problem

Øyvind Frøland oyvind at uniweb.no
Tue Nov 8 16:44:53 CET 2005


Found the solution:

edit class.t3lib_formmail.php.
Line 100: if (filesize($theFile) < 2000000) {

For developers: please fix this, and please do not hardcode checks like 
these.




Øyvind Frøland wrote:

>To be exact - the form removes any attachment bigger than 200k. 
>Desperately need help!
>
>
>Øyvind Frøland wrote:
>
>  
>
>>Greetings list
>>
>>I am using the standard mailform with fileupload to let users email me 
>>files. Problems have occured, however, and it seems as if they are not 
>>able to send files over a certain size. I have gone through my 
>>configuration and removed values for "[BE][maxFileSize]" - but stilll no 
>>luck.
>>
>>Any help will be greatly appreciated.
>>
>> 
>>
>>    
>>
>_______________________________________________
>Typo3-english mailing list
>Typo3-english at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>
>  
>



More information about the TYPO3-english mailing list