diff --git a/.DS_Store b/.DS_Store index 45add95..eae2862 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/Hochzeit-G-stebuch b/Hochzeit-G-stebuch deleted file mode 160000 index ea7d69d..0000000 --- a/Hochzeit-G-stebuch +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ea7d69d8544f1e496b2c6d646f319bf64bea5c12 diff --git a/Hochzeit-G-stebuch-1 b/Hochzeit-G-stebuch-1 deleted file mode 160000 index ea7d69d..0000000 --- a/Hochzeit-G-stebuch-1 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ea7d69d8544f1e496b2c6d646f319bf64bea5c12 diff --git a/Hochzeit-G-stebuch-1/.DS_Store b/Hochzeit-G-stebuch-1/.DS_Store new file mode 100644 index 0000000..ea163b2 Binary files /dev/null and b/Hochzeit-G-stebuch-1/.DS_Store differ diff --git a/Hochzeit-G-stebuch-1/deploy.php b/Hochzeit-G-stebuch-1/deploy.php new file mode 100644 index 0000000..3db85fc --- /dev/null +++ b/Hochzeit-G-stebuch-1/deploy.php @@ -0,0 +1,6 @@ +&1'); +echo $output; +?> \ No newline at end of file diff --git a/Hochzeit-G-stebuch-1/index.php b/Hochzeit-G-stebuch-1/index.php new file mode 100644 index 0000000..ba97d3b --- /dev/null +++ b/Hochzeit-G-stebuch-1/index.php @@ -0,0 +1,433 @@ + $tmpName) { + if ($tmpName != "") { + $extension = strtolower(pathinfo($_FILES['photos']['name'][$key], PATHINFO_EXTENSION)); + $newName = $cleanName . '_' . time() . '_' . substr(md5(uniqid()), 0, 6) . '.' . $extension; + if (move_uploaded_file($tmpName, $upload_verzeichnis . $newName)) { + $uploadedCount++; + } + } + } + + echo json_encode([ + 'success' => true, + 'count' => $uploadedCount, + 'newTotal' => get_image_count($upload_verzeichnis) + ]); + exit; +} +?> + + + +
+ + +Deine Bilder wurden erfolgreich zur Galerie hinzugefügt.
+ +