Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h1>Online Bookmarks</h1>
- <b>This site can help you;</b><br />
- <ul>
- <li>Store your bookmarks online with us!</li>
- <li>See what other users use!</li>
- <li>Share your favorite links with others!</li>
- </ul>
- <form action="" method="get">
- <table>
- <tr><td>Username:</td><td><input name="user" type="text" /></td></tr>
- <tr><td>Password:</td><td><input name="pass" type="text" /></td></tr>
- <tr><td><input type="submit" name="submit" value="Send" /></td></tr>
- </table>
- <?php
- if( isset($_GET["submit"])) {
- $user = $_GET["user"];
- $pass = $_GET["pass"];
- if ($user=="test" && $pass=="test"){
- //execute popup window that says you are logged in
- }
- else{
- echo "Wrong username or password";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement