SHARE
TWEET

Untitled

a guest May 19th, 2019 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (empty($_POST['uname']) || empty($_POST['pword'])) {
  2.             header('Location: index.php');
  3.             exit;
  4.         } elseif ((preg_match("/admin/", $_POST['uname'])) || (preg_match("/(user)(\d)+/", $_POST['uname']))) {
  5.             echo "<br>Hello ";
  6.             echo $_POST["uname"];
  7.             if (!file_exists($_POST['uname'])) {
  8.                 mkdir($_POST["uname"], 0777, true);
  9.                 echo "<br>Your folder has been created.";
  10.             } else {
  11.                 echo "<br>Welcome back!";
  12.             }
  13.  
  14.             sleep(10);
  15.             header("Location: uploadManager.php");
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top