PrepAway - Latest Free Exam Questions & Answers

Category: 200-500

Exam 200-500: Zend PHP 5 Certification

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 2212345...1020...Last »