Sr. PHP Programmer Question:
Download Questions PDF

How will you access the actual name of the uploaded file in PHP?

Answer:

Using $_FILES['file']['name'] − it provides the actual name of the uploaded file.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
How will you make a check that a cookie is set or not?Why would you use === instead of ==?