Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- </head>
- <body>
- <form action="" method="post">
- käyttäjä:
- <input type="text" name="user" /><br>
- salasana:
- <input type="password" name="pass" /><br>
- <input type="submit" value="Kirjaudu" />
- </form>
- </body>
- </html>
- <?php
- if ($user == "admin" && $pass == "salasana")
- {
- echo "sisällä";
- }
- else
- {
- echo "ei siällä";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement