Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- require 'phpFunctions.php';
- if(isset($_POST['fileName'])){
- $fileName = $_POST['fileName'];
- deleteDir('uploads/'.$_SESSION['username'].'/'.$fileName);
- unset($_SESSION['selectedFolder']);
- updateFreeSpace('addition');
- echo $fileName." deleted successfully";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment