This repository has been archived on 2026-06-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
sgd/projekt_v3/upload_fehler.php
T

60 lines
1.2 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Start der Session
*/
session_start();
/**
* Festlegung der Untergrenze für die PHP-Version
* @version: 1.0
*/
if (0 > version_compare(PHP_VERSION, '7')) {
die('<h1>Für diese Anwendung ' . 'ist mindestens PHP 7 notwendig</h1>');
}
?>
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>Image2Food
Sag mir, was ich daraus kochen kann Upload </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="lib/css/stil.css">
</head>
<body>
<div id="nav">
<?php
@require ("navmitglieder.php");
?>
</div>
<div id="content">
<h1>Registrierungsfehler</h1>
<?php
/**
* Image2Food
* Das soziale Netzwerk für Kochideen
* Die Fehlerseite bei fehlerhaftem Upload
*/
class UpFehler {
/**
* Fehlermeldung
*
*/
public function fehler() {
echo "<h4>Der Upload und die Registrierung der Datei" . " im System hat leider nicht funktioniert.</h4>" . "<h5>Versuchen Sie es bitte erneut.</h5>";
}
}
$obj = new UpFehler();
$obj -> fehler();
?>
<hr>
<a href='index.php'>Zur Homepage</a>
</div>
</body>
</html>