Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>Register</title>
- </head>
- <body>
- <form method="post" action="index.php">
- <center>
- <p><strong >USERNAME:</strong></p>
- <input type = "username" name = "username">
- <p><strong>PASSWORD:</strong></p>
- <input type ="password" name="password">
- <p><strong>REPLAY PASSWORD:</strong></p>
- <input type ="password" name="retrypassword">
- <p>
- <button type ="submit" name="fuck_register=">Register</button>
- </p>
- </center>
- </form>
- </body>
- </html>
- <?php
- if(isset($_POST[‘fuck_register’]))
- {
- if (empty($_POST['username']) && empty($_POST['password']) && empty($_POST['retrypassword']))
- {
- echo "<html>";
- echo "<body>";
- echo "<p><strong>ОШИБКА!</strong></p>";
- echo "</body>";
- echo "</html>";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement