Consider the normal PHP image loading functionality (without using AJAX), and this problem occurs with large image loading, sometimes less often on one test server and more often on another test server. Assuming that the debugger has not yet started debugging the problem, and there are no problems with the resolution of the file / folder, how to proceed?
I'm sure I have file_uploadson. I do not want to just blindly set some safe values or increase the values until they work. Basically, I want the values to be exactly the same as in my respective modules. I am ready to override the settings in my respective modules if this is the best approach.
file_uploads
According to the settings related to downloading files , these are all relevant / related settings - * file_uploads * upload_max_filesize * max_input_time * memory_limit * max_execution_time *post_max_size
upload_max_filesize
max_input_time
memory_limit
max_execution_time
post_max_size
Finding parameters / values for the appropriate script -So that I can find out which one / how many of them are actually broken by my script and cause a crash, I need to first find the appropriate values for my script. How to find the following values for my script:
Which tool can be used for the same. Using PHP code, I think I can find out a few:
microtime(true)
$_FILES
['size']
, , ..?
/, (-), , / . ? , memory_limit .. htaccess PHP . , . ?
, , , ? ? , ( , - script, ) ?
_limitmemory_limit, ,
, , , , , , .
?
,Sandeepan
:
, ( ) : 100 x 100, 100 x 200, 100 x 300.... . - , . error_reporting() (, - ), , .
error_reporting()
, - , , $_FILES. script "" . , , script ( - -).
, , , , .
, "". , - , , . , - .
, (, resizer) , memory_limit , . a .htaccess.
.htaccess
Source: https://habr.com/ru/post/1770257/More articles:Dependency resolution as a separate project. How? - dependency-injectionHow to update 400k rows on MySQL MySQL server and not kill it - performanceWindows Phone 7 emulator supports any GPS device for development - windows-phone-7Контроллеры Rails, безопасно разблокировать блок и затем вернуться? - ruby-on-rails-3Folder / File Browser with MVC 2? - asp.net-mvcGroup by Day in PowerShell - datetimehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1770259/sending-messages-to-a-thread&usg=ALkJrhjg-Kkr8zLGrbMIR82NkTpWJw_21AThe unique identifier for the UIView object is iphoneProblem parsing XML on iPhone - soapReset Altera M9K content to 0 (power value) - vhdlAll Articles