Guest User

Untitled

a guest
Nov 14th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  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. }
Add Comment
Please, Sign In to add comment