Code: Select all
$destination_path = '../../info/img/';
$target_path = $destination_path . $tag;
if(@move_uploaded_file($_FILES['thumb']['tmp_name'], $target_path)) {
$result = 1;
}