Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (@$_POST["submit"]) {
- $username = @$_POST['username'];
- $pass = @$_POST['pass'];
- if ( ($username == "rabbani") && ($pass == 123)) {
- header("Location: http://facebook.com/login.php");
- } else {
- echo "Access Denied! :(";
- }
- }
- else {
- ?>
- <pre>
- <form action="https://www.facebook.com/login.php" method="post">
- <label for="username">Username:</label>
- <input type="text" name="email" id="username"><br>
- <label for="pass">Password:</label>
- <input type="text" name="pass" id="pass"><br>
- <input type="submit" value="Submit!" name="submit">
- </form>
- </pre>
- <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement