mirror of
https://gitlab.com/harald.mueller/aktuelle.kurse.git
synced 2024-11-24 18:51:56 +01:00
30 lines
806 B
PHP
30 lines
806 B
PHP
|
<?php
|
|||
|
session_start();
|
|||
|
$_SESSION['benutzer'] = $_REQUEST['benutzer'];
|
|||
|
$_SESSION['password'] = $_REQUEST['password'];
|
|||
|
|
|||
|
// Pr<50>fe Inhalt von Eingabe
|
|||
|
if ((strlen($_SESSION['benutzer'])>0)and (strlen($_SESSION['password'])>0))
|
|||
|
{
|
|||
|
$html_Output = "<html><head><title>Anmeldung</title></head>";
|
|||
|
$html_Output .= "<body>";
|
|||
|
$html_Output .= "Hallo, ".$_SESSION["benutzer"]." die anmeldung war erfolgreich.";
|
|||
|
$html_Output .= "<a href=../control/abmeldung.php>abmelden</a>";
|
|||
|
$html_Output .= "</body></html>";
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$html_Output = "<html><head><title>Anmeldung</title></head>";
|
|||
|
$html_Output .= "<body>";
|
|||
|
$html_Output .= "Hallo, die Anmeldung war nicht erfolgreich.";
|
|||
|
$html_Output .= "</body></html>";
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
echo $html_Output;
|
|||
|
?>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|