daily pastebin goal
17%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. target_file = $target_dir . time()."_abc.jpg";
  2.    
  3. basename($_FILES["files"]["name"]="abc.jpg";
  4.    
  5. $target_file = $target_dir . time()."_abc.jpg";
  6. if (file_exists($target_file)) {
  7.    if (move_uploaded_file($_FILES['files']['tmp_name'], $target_file)) {
  8.        echo "File Uploaded";
  9.    } else {
  10.        echo "File Not Uploaded";
  11.    }
  12. }
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