PHP 手冊
上一頁 | 附錄 H.List of core `php.ini` directives | 下一頁

# File Uploads

表格 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

這裡為簡短的結構指令說明。

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.

上一頁 | 最開頭 | 下一頁
Paths and Directories | 上一層 | General SQL