PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which of the following actions must be taken before this code may go into production?

An HTML form contains this form element
<code>
<input type=”file” name=”myFile” />
</code>
When this form is submitted, the following PHP code gets executed:
<code>
move_uploaded_file(
$_FILES[‘myFile’][‘tmp_name’],
‘uploads/’ . $_FILES[‘myFile’][‘name’]);
</code>
Which of the following actions must be taken before this code may go into production?
(Choose 2)


Page 11 of 101« First...910111213...203040...Last »