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 |
What is helper function?
Write down the code for save an uploaded file using php?
What’s the difference between sort(), assort() and ksort? Under what circumstances would you use each of these?
How can I increase my website session?
Do you know how to declare an array in php?
Give any ten basic functions in PHP?
Can php run without server?
What are the security measures we have to take for our site not to hack by others?
What does odbc do in context with php?
Tell me what sized websites have you worked on in the past?
What are the different data types in javascript?
Which is better php or wordpress?