PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

When this form is submitted, the following PHP code gets executed: 1 <?

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


Page 1 of 10112345...102030...Last »