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

How can you send email in php?

0 Answers  


How to track user logged out or not? When user is idle?

0 Answers  


Explain php explode() function.

0 Answers  


What are php string functions?

0 Answers  


What is php and its features?

0 Answers  






What is meant by nl2br()?

4 Answers   Rushmore Consultancy,


What is the difference between file_get_contents() and file_put_contents() in php?

0 Answers  


How do i explode this string '||25||34||73||94||116||128' i need to have a array like this array ( 0 => '25', 1 => '34', 2 => '73', 3 => '94', 4 => '116', 5 => '128' ) explode("||", $array); didnt work for me i get this array array ( 0 => '', 1 => '25', 2 => '34', 3 => '73', 4 => '94', 5 => '116', 6 => '128', )

2 Answers  


How does php work?

0 Answers  


Explain PHP looping?

0 Answers  


Define urlencode() and urldecode() used in php?

0 Answers  


What is super keyword in php?

0 Answers  


Categories