Hello all, I want to upload pdf file more than 10mb into server. But when i upload it by using move _uploaded_files method connection timed out problem occurs , even though i applied set_time_limit to 0 and max_file_size. is there any method available like FTP function to upload files from local system to server. Please help me if u know the answer.
try this adding to your .htaccess file <IfModule mod_php.c> php_value post_max_size 15M php_value upload_max_filesize 15M </IfModule> Code (markup):
You can try to change the php max_execution_time value in php.ini file. or something like <IfModule mod_php.c> php_value max_execution_time 120 php_value post_max_size 15M php_value upload_max_filesize 15M </IfModule> Note : php_value max_execution_time 120 means ==> 120 seconds