1.

Which directive determines whether PHP scripts on the server can accept file uploads?(a) file_uploads(b) file_upload(c) file_input(d) file_intakeI had been asked this question in final exam.My question is taken from Uploading Files with PHP topic in chapter File and Session Handling in PHP of PHP

Answer»

Right choice is (a) file_uploads

EASY EXPLANATION: With PHP, it is easy to upload files to the SERVER. We need to ensure that PHP is configured to ALLOW file uploads. In the “php.ini” file, SEARCH for the file_uploads directive, and set it to On. By default, its value is on.



Discussion

No Comment Found

Related InterviewSolutions