is anybody upload more than 100mb file using PHP upload
script in ONLINE SERVER (using .htaccess file)? please give
some idea...



is anybody upload more than 100mb file using PHP upload script in ONLINE SERVER (using .htaccess fi..

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

Post New Answer

More PHP Interview Questions

What is regex in html?

0 Answers  


How can we submit form without a submit button?

0 Answers  


Explain me difference between mysql_connect and mysql_pconnect?

0 Answers  


Why do we use sessions in php?

0 Answers  


What is the purpose of the php empty function?

0 Answers  






Is php faster than nodejs?

0 Answers  


What is mvc? Why its been used?

0 Answers  


How to get the ip address of the client?

0 Answers  


How check variable is set or not in php?

0 Answers  


Explain the types of string comparision function in PHP

0 Answers  


What are the 3 scope levels available in php and how would you define them?

0 Answers  


How does csrf token work?

0 Answers  


Categories