What changes to done in PHP.ini file for file uploading?
Answer Posted / devendrarjadav
In PHP.ini you must change the following directives to
allow the http file upload.
1.file_uploads : make this directive as TRUE, yes, on or 1.
2.upload_tmp_dir : Specify the temporary directory used for
storing files when doing file upload.
3.upload_max_filesize : Specify the maximum size of an
uploaded file.
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
What is the meaning of "enctype= multipart/form-data" ?
What is the use of get and post method in php?
How to concatenate two strings in php?
Explain scalar type declarations in php7?
What is the role of php.ini file?
What is printf in php?
What is the difference between echo print and print_r in php?
What is form action php?
What are the data types in php?
What is curl php?
What is user defined function in php?
What does mysqli_query return?
What are static variables in php?
What are the common uses of php?
Do you know what is the difference between the include() and require() functions?