Add timestamps to images.

This commit is contained in:
2023-12-31 09:35:34 +01:00
parent 66af0a2bb7
commit 4da5fc3f9c
11 changed files with 28 additions and 17 deletions

View File

@@ -2,7 +2,8 @@
<?php
if (!isset($_POST['Speichern'])) {
echo "<img src=\"../img/angebot/" . $_POST['Titel'] . ".jpg\" /><br />";
$ts = time();
echo "<img src=\"../img/angebot/" . $_POST['Titel'] . ".jpg?ts=" . $ts . "\" /><br />";
$sql1 = 'SELECT * FROM Angebot WHERE ID = "' . $_POST['Titel'] . '"';
$result1 = $db->query($sql1);
$nt1 = $result1->fetch_assoc();