diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2009-10-27 16:13:48 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2009-10-27 16:13:48 +0000 |
commit | e2211cee86982758a8cf06a10ed8ead0bfc32635 (patch) | |
tree | e346fd0f67de5db76e1df66853b82e424eec0075 /php.ini-development | |
parent | e8359d3f904cf7232aa70ddf1e5d20fa936795fd (diff) | |
download | php-git-e2211cee86982758a8cf06a10ed8ead0bfc32635.tar.gz |
Introduced a max_file_uploads INI setting, which is set to limit the
number of file uploads per-request to 100 by default, to prevent possible
DOS via temporary file exhaustion.
Diffstat (limited to 'php.ini-development')
-rw-r--r-- | php.ini-development | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/php.ini-development b/php.ini-development index cb994bdf11..a45b67042d 100644 --- a/php.ini-development +++ b/php.ini-development @@ -878,6 +878,9 @@ file_uploads = On ; http://php.net/upload-max-filesize upload_max_filesize = 2M +; Maximum number of files that can be uploaded via a single request +max_file_uploads = 100 + ;;;;;;;;;;;;;;;;;; ; Fopen wrappers ; ;;;;;;;;;;;;;;;;;; |