<?php
$target_dir = "phone/new/";
$target_file = $target_dir . basename($_GET["name"]);
$uploadOk = 1;
$imageFileType = strtolower(pathinfo($target_file,PATHINFO_EXTENSION));
// Check if image file is a actual image or fake image
error_log(print_r($_SERVER, TRUE));
error_log(print_r($_FILES, TRUE));
error_log(print_r($_GET, TRUE));
?>
