Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $dir_file=$dir."/".$nome;
- chmod($dir, 0755);
- chmod($dir_file, 0755);
- if(file_exists($dir_file)){
- if(unlink($dir)){
- $success++;
- }
- }else{
- echo "¯_(ツ)_/¯";
- }
- }
- if(file_exists($dir)){
- if(rmdir($dir)){
- $success++;
- }
- }else{
- echo "¯_(ツ)_/¯";
- }
Add Comment
Please, Sign In to add comment