Sr. PHP Programmer Question:
Download Questions PDF

How will you access the content type of the uploaded file in PHP?

Answer:

Using $_FILES['file']['type'] − it provides the MIME type of the uploaded file.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
Can you extend a Final defined class?What is the Scope Resolution Operator?