1.

Which function is used to determine whether a file was uploaded?(a) is_file_uploaded()(b) is_uploaded_file()(c) file_uploaded(“filename”)(d) uploaded_file(“filename”)This question was addressed to me in semester exam.My question is based upon Uploading Files with PHP in division File and Session Handling in PHP of PHP

Answer»

The CORRECT answer is (b) is_uploaded_file()

The best I can explain: The function is_uploaded_file() CHECKS whether the SPECIFIED file is uploaded VIA HTTP POST. The SYNTAX is is_uploaded_file(file).



Discussion

No Comment Found

Related InterviewSolutions