What changes to done in PHP.ini file for file uploading?

Answers were Sorted based on User's Feedback



What changes to done in PHP.ini file for file uploading?..

Answer / 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

What changes to done in PHP.ini file for file uploading?..

Answer / palaniraja.wordpress.com

post_max_size also should be greater than upload_max_filesize

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More PHP Interview Questions

List some of the features of php7.

0 Answers  


Distinguish between urlencode and urldecode?

0 Answers  


What does addslashes do in php?

0 Answers  


How to create a public static method in PHP?

0 Answers  


What is difference between get and post in php?

0 Answers  






Where are the persistent cookies stored on your computer?

0 Answers  


Is empty function c++?

0 Answers  


What is c++ polymorphism?

0 Answers  


What is the difference between myisam and innodb?

0 Answers  


what is Opern source?

3 Answers  


What is the use of the function 'imagetypes()'?

0 Answers  


How to return ascii value of character in php?

0 Answers  


Categories