note 95075 added to features.file-upload.common-pitfalls
| From: | NirmalNatarajan at osu1 dot php dot net | Date: | Sat, 12 Dec 2009 04:23:23 +0000 |
| Subject: | note 95075 added to features.file-upload.common-pitfalls | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-163874@lists.php.net to get a copy of this message | ||
If using IIS 7.0 or above, the Request Filtering is enabled by default and the max allowed content
length is set to 30 MB.
One must change this value if they want to allow file uploads of more than 30 MB.
Sample web.config entry:
<configuration>
</system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="314572800"/>
</requestFiltering>
</security>
</system.webServer>
</configuration>
The above setting will allow 300 MB of data to be sent as a request. Hope this helps someone.
----
Server IP: 69.147.83.197
Probable Submitter: 60.51.222.233
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.common-pitfalls.php
Edit -- https://master.php.net/note/edit/95075
Del: integrated -- https://master.php.net/note/delete/95075/integrated
Del: useless -- https://master.php.net/note/delete/95075/useless
Del: bad code -- https://master.php.net/note/delete/95075/bad+code
Del: spam -- https://master.php.net/note/delete/95075/spam
Del: non-english -- https://master.php.net/note/delete/95075/non-english
Del: in docs -- https://master.php.net/note/delete/95075/in+docs
Del: other reasons-- https://master.php.net/note/delete/95075
Reject -- https://master.php.net/note/reject/95075
Search -- https://master.php.net/manage/user-notes.php