Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Explain what are the different errors in php?

0 Answers  


Is multiple inheritance supported in php?

0 Answers  


What is difference between readonly and constant?

0 Answers  


What are the advantages of PHP over HTML?

11 Answers   Infosys, Torque Infotech,


Explain Booleans in PHP?

0 Answers  


How do I update php?

0 Answers  


Can we use onclick in submit button?

0 Answers  


What is the purpose of the php empty function?

0 Answers  


How to register a variable in PHP session?

0 Answers  


How do you clear environment variables?

0 Answers  


What is a null coalescing operator in php7?

0 Answers  


How we can get the number of elements in an array?

0 Answers  


Categories