Date Added: 22/12/2016
PHP Uploading Large Files

in Default PHP settings there is some constrait when posting  a form

it can be set in php.ini or directly on proccessing file 

While trying to upload large file in a form like GB probably you will encounter uploading constrait problem 

on proccessing file  

ini_set('upload_max_filesize', '100M');
ini_set('post_max_size', '100M');
ini_set('max_input_time', 300);
ini_set('max_execution_time', 300);

in php.ini file

upload_max_filesize = 2G
post_max_size = 2G
max_input_time = 60
max_execution_time = 300

 

 

Last Update: 19/12/2017 Posted by: müslüm ÇEN

Not Commented Yet !
Please login in order to comment . Login