is anybody upload more than 100mb file using PHP upload
script in ONLINE SERVER (using .htaccess file)? please give
some idea...
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 |
How can we calculate the similarity between two strings?
Why does php start with variables?
What is the current stable version of php? What advance thing in php7?
Will php die?
Tell me how comparison of objects is done in php5?
What is use of htmlspecialchars php?
What are the different methods of passing data or information between two calls of a web page? What are the advantages/disadvantages of these methods?
What are the advantages of indexes?
What is the difference between $message and $$message?
when will be syndicate bank written exam ? i need the date of exam
How to enable cURL in PHP?
What is return in php function?