Junior PHP Developer Question:

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

Tweet Share WhatsApp

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 PDF Read All 161 Junior PHP Developer Questions
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?