POST and file size limitations |
Site Admin
|
built-in server does not care of the file sizes at all. It's php cares. So you need to set the same settings for php . Check with phpinfo() output if you're not sure.
|
||||||||||||
_________________ The PHP IDE team |
|
Which is what I did using ini_set....but I will run the ini_set commands and then check with phpinfo().
|
||||||||||||
|
Site Admin
|
I'm not sure how you can set it in runtime
Indeed, the upload happens and the limitations are enforced before the very 1st line of your script is executed. Seems the only way is to change php.ini. See phpinfo() output on where this file is located. |
||||||||||||
_________________ The PHP IDE team |
|
Yes, you are right. the PHP manual isn't really straight forward about this, one has to look in three different spots. The weird thing is that I used the exact same code for uploading ZIP archives and during my tests the files must have all been below the default maximum. That's what one gets from crappy test cases.
|
||||||||||||
|
POST and file size limitations |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by