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 faster in php?

0 Answers  


What the use of var_dump()?

0 Answers  


How to declare an array in php?

0 Answers  


What are the advantages of not using any frameworks ?

1 Answers   Sonata,


How to open a file for writing?

0 Answers  






Whether One-line comment begin with pound sing(#) in php?

2 Answers  


What is abstract class in php?

0 Answers  


Apart from mail() function to send emails,is there any other functions in PHP to send emails?

4 Answers  


What is the difference between Session and Cookie?

0 Answers  


How to include variables in double-quoted strings in php?

0 Answers  


What is $_ server request_method == post?

0 Answers  


How do I run a php program in dreamweaver?

0 Answers  


Categories