Randal Rust wrote:
> I have a 10MB file that needs to be uploaded through a form. Seems
> simple enough. Just modify php.ini to allow larger files, or user
> ini_set().
> 
> The problem is that when I select this file and try to upload it,
> nothing get passed in the $_REQUEST array, so I can't figure out what
> is going on here.
> 
> Basically, I have this:
> 
> if(isset($_POST['save'])){
> //process form
> echo 'form is submitted';
> }
> 
> If I select a smaller file, it prints the message. If I select the
> larger one, no luck.
> 
> Any ideas?

There is also a limit in Apache

http://httpd.apache.org/docs/2.0/mod/core.html#limitrequestbody

Dan

_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to