PHP -Bild in eine andere Subdomain hochladen

$target_path = $_SERVER['DOCUMENT_ROOT'] . "/images/" . basename($_FILES['file']['name']);
move_uploaded_file($_FILES["file"]["tmp_name"], $target_path);
loneWolf_sage