Advertisement
Guest User

Untitled

a guest
Jan 30th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.33 KB | None | 0 0
  1. <?php
  2.                 $username = $_POST['textid'];
  3.                 $password = $_Post['textid2'];
  4.                 $usernames = {
  5.                     'username1',
  6.                     'username2',
  7.                     'username3'
  8.                 }
  9.                 $passwords = {
  10.                     'pw1',
  11.                     'pw2',
  12.                     'pw3'
  13.                 }
  14.                 if (isset($_POST['Submit1'])) {
  15.                     if($username == $usernames && $password == $passwords) {}
  16.                 }
  17.             ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement