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 we load all classes that placed in different directory in one php file , means how to do auto load classes.
What is super keyword in php?
How can we check the value of a given variable is alphanumeric?
How to get ip address of clients machine?
What is a php form?
Do you know how to enable error reporting in php?
What is the use of "enctype" attribute in a html form?
Are objects passed by value or by reference?
What does the unset() function mean?
Can we extend final class in php?
Tell me what does pear stands for?
Does php have future?