Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
<?
$login[0] = "root";
$pass[0] = "hallo";
for($i=0;$i<count($login);$i++){
if($login[$i] == $name && $pass == $password){
header("Location: geschützt.html");
}
return;
}
?>
<html>
<body>
<form method="post" action="">
<input type="text" "name="name">
<input type="text" "name="passwort">
</form>
</body>
</html>
<?
$pass[0] = "hallo";
for($i=0;$i<count($pass);$i++){
if($pass == $password){
header("Location: geschützt.html");
}
return;
}
?>
<html>
<body>
<form method="post" action="">
<input type="text" "name="passwort">
</form>
</body>
</html>
$pass_array = explode(";", "passwoerter.php");
if (in_array($_POST['passwort'], $pass_array))
{
//Benutzer wird eingeloogt
}
<?
// falls passwort richtig dann wird dorthin verwiesen
$relink ="geschützt.html";
$login[0] = "root";
$pass[0] = "hallo";
for($i=0;$i<count($login);$i++){
if($login[$i] == $name && $pass[$i] == $password){
header("Location: $relink");
}
}
?>
<html>
<body>
<form method="post" action="<?=$PHP_SELF?>">
<input type="text" "name="name">
<input type="text" "name="passwort">
<input type="submit" value="submit">
</form>
</body>
</html>
<?
// falls passwort richtig dann wird dorthin verwiesen
$relink ="geschützt.html";
$pass[0] = "hallo";
for($i=0;$i<count($pass);$i++){
if($pass[$i] == $password){
header("Location: $relink");
}
}
?>
<html>
<body>
<form method="post" action="<?=$PHP_SELF?>">
<input type="text" "name="passwort">
<input type="submit" value="submit">
</form>
</body>
</html>
<input type="text" "name="passwort">
if($login[$i] == $name && $pass[$i] == $password){