Last active
November 1, 2023 13:10
-
-
Save ronsen/f7914755d45b45d776bf6ffbd711291c to your computer and use it in GitHub Desktop.
Fake wordpress login page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en" data-theme="dark"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Log In</title> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css"> | |
</head> | |
<body> | |
<main class="container"> | |
<?php if ($_SERVER['REQUEST_METHOD'] === 'POST') : ?> | |
<div class="headings"> | |
<h2>Success!</h2> | |
<h3>You're successfully logged in.</h3> | |
</div> | |
<?php else : ?> | |
<h3>Log In</h3> | |
<form method="post"> | |
<label for="user_login">Username or Email Address</label> | |
<input type="text" id="user_login" name="log" required autofocus> | |
<label for="user_pass">Password</label> | |
<input type="password" name="pwd" id="user_pass" required> | |
<button type="submit">Log In</button> | |
</form> | |
<?php endif; ?> | |
</main> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment