Phil wants to check the size of the uploaded file and notify the user if it exceeds the given size. Which of the following option helps him to retrieve the size of the uploaded file?

<?php
< form action="document.php" method="post" enctype="multipart/form-data">
< input type="file" name="doc" value=”” />
?>

$POST["doc","size"];

$POST["doc"]["size"];

$FILES["doc","size"];

$_FILES["doc"]["size"];

Verified Answer
Correct Option - d

To get all Infosys Certified PHP Associate Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram