T
TKM1
Guest
Hi,wollte auf meine Hp einen Passwordgeschützten Bereich einbauen.
Weiß aber net wie ich das hinbekomme!
Am liebsten wäre mir ein script!
Weiß aber net wie ich das hinbekomme!
Am liebsten wäre mir ein script!
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
<?php
if (isset($Submit)){
if ($passwd==dein_Passwort){
header("Location: http://www.deine-seite.de/seite.htm");
} else {
echo "Falsches Passwort";
}
}
?>
<html>
<head>
<title>bla</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="login.php">
<input type="password" name="passwd">
<input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>
if ($passwd==dein_Passwort){