Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(isset($_POST["user"]) && isset($_POST["pass"])){
- $user="Halux";
- $pass="test";
- if ($user==$_POST["user"] && $pass==$_POST["pass"]){
- setcookie("login", "test", time()+3600, "/");
- header("Location: anmeldung.php");
- }else{
- header("Location: anmeldung.php?f=1");
- }
- }else{
- header("Location: anmeldung.php?f=1");
- }
- ?>
- <html>
- <body>
- </body>
- </html>
Add Comment
Please, Sign In to add comment