You are here: Re: File Upload issue - Unable to Upload a Large File « PHP Programming Language « IT news, forums, messages
Re: File Upload issue - Unable to Upload a Large File

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация