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?



Yes, what are the form limits for your web server? I know Apache has a setting that limits how much space is reserved for form data coming in from a client. I do not know what the default is, but it for sure is less than 10 MB. Keep in mind that that setting is for all form data, nut just a file.

HTH,

David
_______________________________________________
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