I have attachments as files hack installed
Instead of
PHP Code:
header("Content-disposition: inline; filename=$attachmentinfo[filename]");
header("Content-Length: ".strlen($attachmentinfo[filedata]));
I have:
PHP Code:
header("Content-disposition: inline; filename=$attachmentinfo[filename]");
header("Content-Length: $filesize"); // attachments as files hack
I deleted header("Content-Length: $filesize"); , but I think that now i can add files without size limit checking ...
Ideeas ?