Junior PHP Developer Question:

Download Job Interview Questions and Answers PDF

Explain me what is the difference between $_FILES[‘userfile’][‘name’] and $_FILES[‘userfile’][‘tmp_name’]?

Junior PHP Developer Interview Question
Junior PHP Developer Interview Question

Answer:

$_FILES[‘userfile’][‘name’] represents the original name of the file on the client machine,

$_FILES[‘userfile’][‘tmp_name’] represents the temporary filename of the file stored on the server.

Download Junior PHP Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me how is it possible to parse a configuration file?Do you know what’s the difference between __sleep and __wakeup?