fomalhaut
Member
- Messages
- 107
- Reaction score
- 0
- Points
- 16
Hello all.
That's a problem I have with another website that uses php (not in x10), but I've no doubts some of you know the answer:
At my home, I've a poor very lent web connection, and at work, I've a very rapid web connection.
I have to upload some files of about 150 Ko (the distant server doesn't accept file size more than 200 Ko). When I upload from my workplace, there is no problem. But when I upload from my home, there is often the message which indicates a too big file (that is not the reality). If then I go backwards and upload again the same file several times in a row (it can be 2, 3... 75 times !), the upload finally succeeds.
I've seen in the php documentation, there is the max_input_time parameters, which is 60s by default, that could be the culprit:
I also see in the php documentation for "handling file uploads" that the error code is "3" (i.e. "UPLOAD_ERR_PARTIAL") when "the uploaded file was only partially uploaded". Can it be the way in case of max_input_time overflow ?
Thank you very much in advance for your answers.
That's a problem I have with another website that uses php (not in x10), but I've no doubts some of you know the answer:
At my home, I've a poor very lent web connection, and at work, I've a very rapid web connection.
I have to upload some files of about 150 Ko (the distant server doesn't accept file size more than 200 Ko). When I upload from my workplace, there is no problem. But when I upload from my home, there is often the message which indicates a too big file (that is not the reality). If then I go backwards and upload again the same file several times in a row (it can be 2, 3... 75 times !), the upload finally succeeds.
I've seen in the php documentation, there is the max_input_time parameters, which is 60s by default, that could be the culprit:
And I suspect the script to give the same message (of too big file) whatever the error number."The max_input_time sets the maximum time, in seconds, the script is allowed to receive input; this includes file uploads. For large or multiple files, or users on slower connections, the default of 60 seconds may be exceeded."
I also see in the php documentation for "handling file uploads" that the error code is "3" (i.e. "UPLOAD_ERR_PARTIAL") when "the uploaded file was only partially uploaded". Can it be the way in case of max_input_time overflow ?
Thank you very much in advance for your answers.