SHARE
TWEET

Untitled

a guest Nov 14th, 2017 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $dir_file=$dir."/".$nome;
  2.   chmod($dir, 0755);
  3.   chmod($dir_file, 0755);
  4.   if(file_exists($dir_file)){
  5.     if(unlink($dir)){
  6.       $success++;
  7.     }
  8.   }else{
  9.     echo "¯_(ツ)_/¯";
  10.   }
  11. }
  12.   if(file_exists($dir)){
  13.     if(rmdir($dir)){
  14.       $success++;
  15.     }
  16.   }else{
  17.     echo "¯_(ツ)_/¯";
  18.   }
RAW Paste Data
Top