Im getting an image from my app to this php code:
<?php
$target = "upload/";
$name="checks";
$target = $target . basename( $_FILES['uploaded'].$name);
if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target))
{
echo "yes";
}
else {
echo "no";
}
?>
The problem is that every name of a picture that I upload starts with "Array".
for example, $name
is now "checks", so the filename would be "Arraychecks".
Why is this happening?
Thank you for your assistance.