-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
23 lines (23 loc) · 956 Bytes
/
index.php
File metadata and controls
23 lines (23 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Upload ZIP pour Collage</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="upload-container">
<h2>Créez ton collage</h2>
<form id="uploadForm" action="upload.php" method="post" enctype="multipart/form-data">
<input type="file" id="zipFile" name="zip_file" accept=".zip" required>
<label for="widthImages">Nombre d'images en largeur:</label>
<input type="number" id="widthImages" name="width_images" min="1" required>
<label for="pixelsBetween">Nombre de pixels entre les images:</label>
<input type="number" id="pixelsBetween" name="pixels_between" min="0" required>
<button type="submit">Upload et Créez le Collage</button>
</form>
<div id="message"></div>
</div>
<script src="script.js"></script>
</body>
</html>