|
Posted by Willem Bogaerts on 12/01/06 10:45
Look in the PHP uploading documentation. There are TWO limits you can
encounter: the max upload filesize and the max post size. Both should be
set on the server, but is is good to include the field on the client as
well.
Best regards.
David wrote:
> I am using PHP Version 4.4.3 under Linux/Apachie to upload files.
> The PHP.ini upload_max_filesize is 2M, which I need to override this
> in the HTML (see below). I changed the MAX_FILE_SIZE to 4,000,000
> but the system only accepts files less than 2M.
>
> Is the override wrong, do I need to raise the limit in the PHP.ini
> file, or is the Apachie issue.
>
>
> <form name="upload" action="admin.php" method="post"
> enctype="multipart/form-data">
> <input type="hidden" name="MAX_FILE_SIZE" value="4000000">
Navigation:
[Reply to this message]
|