PHP上传扫描限制? [英] PHP Uploads Limit for Scanning?
问题描述
我在某处读到php的上传限制约为2MB.如果我要求用户将文件上传到服务器以进行扫描并转换为字符串,这是否仍然适用?如果是这样,我该如何解决?
I read somewhere that the upload limit for php is about 2MBs. Does this still apply if I am asking a user to upload a file to the server to scan through and convert to a string? If so how do I get around this?
此应用程序是一种扫描程序类型的交易,用户可以上载代码文件,而该php应用程序将扫描代码并查找某些注释以记录文档并写入文档文件.
The application for this is a scanner type deal where users would be able to upload a code file, and this php application would scan through the code and look for certain comments to document and write to a documentation file.
推荐答案
The upload limits are configured in the php.ini file, see this: http://www.radinks.com/upload/config.php
是的,它将应用于用户正在上传的任何文件,而不管服务器端应用程序如何处理它. :)
Yes it would apply to any file that is being uploaded by the user, regardless of what your server side app does with it. :)
可以通过修改php.ini文件中的设置来更改上传限制.
The upload limit can be changed by modifying the settings in php.ini file.
这篇关于PHP上传扫描限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!