开发者

can someone interpert max_input_time directive for me?

I am having a real pr开发者_如何学Gooblem understanding this. max_input_time = This sets the maximum time in seconds a script is allowed to parse input data, like POST, GET and file uploads.

So this is the time it will wait to receive data i assume.

Then i ask my self, if that is its purpose would it serve if you never know what file size the person may upload or what his upload speed really is.

So my second assumption would be, the time it takes to copy it to the temporary directory. Which is a more logical explanation.

Does any one know for sure or has tested?


This sets the maximum time in seconds a script is allowed to parse input data, like POST, GET and file uploads.

I have not tested myself, but my common sense interpretation of this, of which I am 99% sure it is correct, is:

The time after Apache has received the request, and before the PHP script starts. The time it takes for PHP to break up the request data, copy any received files into the temporary directory, and presumably, also to populate the $_POST and $_GET variables that are available in the PHP script.

This means that the client's upload speed is not relevant for max_input_time, but the uploaded file's size can be.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜