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 language is php written in?

0 Answers  


What is the use of imagetypes() method?

0 Answers  


How variables are passed through arguments?

0 Answers  


Design a class that should always return a single object ?

3 Answers   NIIT,


Functions in IMAP, POP3 AND LDAP?

1 Answers   Rushmore Consultancy,


which will print out the php call stack?

0 Answers  


What is the best way to avoid email sent through php getting into the spam folder?

0 Answers  


Tell me how can we check the value of a given variable is alphanumeric?

0 Answers  


How can we find the number of rows in a result set using PHP?

4 Answers  


How to remove the new line character from the end of a text line?

0 Answers  


What is the use of htmlentities in php?

0 Answers  


How to submit form without a submit button.

0 Answers  


Categories