supposedly send slices on a list
how to divide them into slices?
$target_dir = "../../images/user/cover/";
$target_file = $target_dir . basename($_FILES["myFile_cover"]["name"]);
$imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);
$imagename = "chatgether_".$_SESSION["user"] . "." . $imageFileType;
$destination = $target_dir . $imagename;
if(move_uploaded_file($_FILES["myFile_cover"]["tmp_name"], $destination))
{
}
the same photo but copied into a photo
A photo to A file
B photo to B file
how to upload once but have a photo?