is anybody upload more than 100mb file using PHP upload
script in ONLINE SERVER (using .htaccess file)? please give
some idea...
Answer / chandresh
1. Put the following code in side the .htaccess file and
save it.
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_execution_time 200
php_value max_input_time 200
2. or use the ini_set() function for setting
ini_set('post_max_size','9M')
now post_max_size variable is 9 MB set.
| Is This Answer Correct ? | 21 Yes | 4 No |
Explain what are the different errors in php?
Is multiple inheritance supported in php?
What is difference between readonly and constant?
What are the advantages of PHP over HTML?
11 Answers Infosys, Torque Infotech,
Explain Booleans in PHP?
How do I update php?
Can we use onclick in submit button?
What is the purpose of the php empty function?
How to register a variable in PHP session?
How do you clear environment variables?
What is a null coalescing operator in php7?
How we can get the number of elements in an array?