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...

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

What is warning – “cannot modify header information – headers already sent”?

1119


What are major variables in research?

1044


What are the delimiters in php?

1007


What does the initials of php stand for?

1006


How does session work in php?

1056


How to increase the execution time of a PHP script?

1101


What is encapsulation in php with example?

1193


What is a composer?

1025


What are the new features available in php 7?

1044


How do I find environment variables?

1068


How would you open a directory for reading in php?

1056


What's the best method for sanitizing user input with php?

976


What are include() and require() functions?

1001


What is a class in php programing?

2623


How do you pass a variable by value in php?

1049