php.ini 文件上传时的参数设置 post_max_size upload_max_filesize

来源:互联网 发布:厦门管家婆软件代理商 编辑:程序博客网 时间:2024/05/30 23:36

这里写链接内容

post_max_size integerSets max size of post data allowed. This setting also affects file upload. To upload large files, this value must be larger than upload_max_filesize. If memory limit is enabled by your configure script, memory_limit also affects file uploading. Generally speaking, memory_limit should be larger than post_max_size.   If the size of post data is greater than post_max_size, the $_POST and $_FILES superglobals are empty. This can be tracked in various ways,     e.g. by passing the $_GET variable to the script processing the data,     i.e. <form action="edit.php?processed=1">, and then checking if $_GET['processed'] is set.1. post_max_size2. memory_limit3. upload_max_filesizememory_limit > post_max_size > upload_max_filesize
0 0
原创粉丝点击