asked on
$target_path = '../../pdf/';
$target_path = $target_path . basename( $_FILES['strPDF']['name']);
copy($_FILES['strPDF']['tmp_name'], $target_path);
if($target_path == "../../pdf/") {
$action = "";
} else {
$action = basename($target_path);
}