[imp] Fileupload variable in php.ini
Lord Apollyon
implist at paypc.com
Wed Aug 27 08:51:06 PDT 2003
> Which variable in the php.ini file should I increase to increase the
> size of files that can be uploaded/attached to an email message? And is
>
> there a general good size for this number. My clients vary but most
> want to send word documents.
There are several... the one which seems to trip up most people isn't the
one you'd expect.
In your php.ini, there is a setting for memory_limit and max_execution_time.
Add 1.5 times your maximum attachment size to the current value of
memory_limit, and take the transit time of the largest attachment size you
conceivably want to allow sent over a dialup modem, and make that time
estimate your max_exec time.
Keep in mind that binary attachments expand by 33% due to base64 encoding.
=Apollyon=
More information about the imp
mailing list