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


Please Help Members By Posting Answers For Below Questions

Explain me the difference between include and require?

519


Which software is used to run php programs?

522


Can you convert php to html?

535


Is salary a ratio or interval?

554


What is htaccess? Why do we use this and where?

498






How variables are passed through arguments?

556


What is string and its function?

515


What are the advantages of indexes in php?

569


What are getters and setters and why are they important?

534


Tell me how do I check if a given variable is empty?

539


How many types of errors in php?

566


What is the difference between get & post ?

541


What are the data types in php?

543


What is the use of strip_tags() method?

554


What does $_server means?

529