Hi Gernot,
Am 19.04.2012 15:24, schrieb Gernot Hofer:
Hello List!
i use a password secure file download like:
jumpurl = 1
jumpurl.secure = 1
here i have the problem, when a file (zip, exe,...) is lager than>10mb, i get a
download of 0 bytes.
when i set:
jumpurl = 1
jumpurl.secure = 0
it works.
is the problem a wrong server configuration or a bug with the ".secure" feature?
I had this behavior once. The problem was that the memory limit was too low.
PHP needs to load the file completely before returning it. This seems to
need a lot of memory for larger files. For details have a look here:
http://stackoverflow.com/questions/5249279/file-get-contents-php-fatal-error-allowed-memory-exhausted
Kind regards,
Reinhard
--
http://www.typo3-formhandler.com
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english