From 56602a7f62ecc57155fd69de10023d9ff74ec2d3 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 2 Jun 2025 07:32:17 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Esecure=5Fupload.php=E2=80=9C=20=C3=A4n?= =?UTF-8?q?dern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- secure_upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secure_upload.php b/secure_upload.php index 550e1dd..9c32c6b 100644 --- a/secure_upload.php +++ b/secure_upload.php @@ -29,7 +29,7 @@ if (!in_array($ext, $allowed)) { } if (move_uploaded_file($_FILES["file"]["tmp_name"], $target_file)) { - echo json_encode(["success" => true, "url" => "https://www.victorgiers.com/generate3d/" . basename($_FILES["file"]["name"])]); + echo json_encode(["success" => true, "url" => "https://yourwebsite.com/yourtmpimagefolder/" . basename($_FILES["file"]["name"])]); } else { http_response_code(500); echo json_encode(["error" => "Failed to move uploaded file"]);