mirror of
https://github.com/janunger/rheinwerk-video-training.git
synced 2026-02-06 07:05:14 +01:00
Initiale Version
This commit is contained in:
21
Kapitel_5/Lektion_8/fotogalerie_loesung/foto.php
Executable file
21
Kapitel_5/Lektion_8/fotogalerie_loesung/foto.php
Executable file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
$dateiname = $_GET['dateiname'];
|
||||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Fotogalerie - Foto <?= htmlspecialchars($dateiname); ?></title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Foto <?= htmlspecialchars($dateiname); ?></h1>
|
||||
<p>
|
||||
<img src="fotos/<?= htmlspecialchars($dateiname); ?>" alt="<?= htmlspecialchars($dateiname); ?>">
|
||||
</p>
|
||||
<p>
|
||||
<a href="index.php">Zurück</a>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user