Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body>
- <?php
- if (isset ($_POST['sometext'])) {
- $sometext = $_POST['sometext'];
- if ($sometext == 'P@ssw0rd'){echo "that is the password";}
- else {echo "that is not the password";}
- }
- ?>
- <form method="post" action="index.php">
- Enter the Password: <input type="text" name="sometext">
- <input type="submit">
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment