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 faster in php?
What the use of var_dump()?
How to declare an array in php?
What are the advantages of not using any frameworks ?
How to open a file for writing?
Whether One-line comment begin with pound sing(#) in php?
What is abstract class in php?
Apart from mail() function to send emails,is there any other functions in PHP to send emails?
What is the difference between Session and Cookie?
How to include variables in double-quoted strings in php?
What is $_ server request_method == post?
How do I run a php program in dreamweaver?