<?php
$img1Name = $_FILES['img1']['name'];
$target = 'uploads/';
move_uploaded_file($_FILES['img1']['tmp_name'], $target);
?>
<img src="<?php echo 'uploads/' . $img1Name ?>"/>
Why is the image not moving to the uploads folder located where the app is?