PHP - Superglobals and Web Context
What will the following PHP code output if a file named 'document.pdf' is uploaded successfully?
echo $_FILES['upload']['name'];
echo $_FILES['upload']['name'];
$_FILES$_FILES['upload']['name'] prints the original filename, which is 'document.pdf'.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions