Tabel H-6. File Uploads Configuration Options
| Name | Default | Changeable |
|---|
| file_uploads | "1" | PHP_INI_SYSTEM |
| upload_tmp_dir | NULL | PHP_INI_SYSTEM |
| upload_max_filesize | "2M" | PHP_INI_SYSTEM|PHP_INI_PERDIR |
Here's a short explanation of
the configuration directives.
- file_uploads
boolean
Whether or not to allow HTTP
file uploads. See also
the
upload_max_filesize,
upload_tmp_dir, and
post_max_size directives.
- upload_tmp_dir
string
The temporary directory used for storing files when doing
file upload. Must be writable by whatever user PHP
is running as. If not specified PHP will use the system's default.
- upload_max_filesize
integer
The maximum size of an uploaded file.