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 the difference between $name and $$name?
Tell me is it possible to submit a form with a dedicated button?
What is asort php?
What does addslashes do in php?
Tell me what is the difference between get and post?
how will i set pagination ?
Tell me what is the difference between exception::getmessage and exception::getline?
What is the use of mysql_real_escape_string() function?
Explain which cryptographic extension provide generation and verification of digital signatures?
How is a constant defined in a PHP script?
How does php session work?
How can we do user authentication without using session/cookies ? For ex:- From page1 accepts user name and password and need to check in all other pages whether the user has logged in or not