afan@xxxxxxxx wrote: > Hi, > I have a little script that was working fine when uploaded files up tp 16MB. > I moved to other hosting company and use the same form/script. Not, I > can't upload eitherr 2MB file. > > Where to look for limitation first? > > According to phpinfo() post_max_size in php.ini is 8M. memory_limit, post_max_size and upload_max_filesize. the third one is biting you AFAICT. note that upload_max_filesize should be set somewhat smaller than post_max_size because a file upload forms *part* of the total data posted. (someone please correct me if I've been living under an incorrect assumption) > Thanks. > > -afan > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php