Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if( isset($_POST['login'] ) ){
- $username = $_POST[ 'username' ];
- $password = $_POST[ 'password' ];
- }
- if ( $username == 'abc' && $password == '123'){
- echo "Kaj Korche ";
- }
- ?>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Welcome My Facebook</title>
- </head>
- <body>
- <form action="" method ="POST">
- <table>
- <tr>
- <td><label for="username">Username</label></td>
- <td><input type="text" name="usernmae" id="username" ></td>
- </tr>
- <tr>
- <td><label for="password">Password</label></td>
- <td><input type="password" name="password" id="password"></td>
- </tr>
- <tr>
- <td></td>
- <td><input type="submit" value ="login"></td>
- </tr>
- </table>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement