is anybody upload more than 100mb file using PHP upload
script in ONLINE SERVER (using .htaccess file)? please give
some idea...
Answer Posted / 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 |
Post New Answer View All Answers
What is warning – “cannot modify header information – headers already sent”?
What are major variables in research?
What are the delimiters in php?
What does the initials of php stand for?
How does session work in php?
How to increase the execution time of a PHP script?
What is encapsulation in php with example?
What is a composer?
What are the new features available in php 7?
How do I find environment variables?
How would you open a directory for reading in php?
What's the best method for sanitizing user input with php?
What are include() and require() functions?
What is a class in php programing?
How do you pass a variable by value in php?