php remove uploaded file function code example Example: delete uploaded file php <?php unlink($_POST['filename']); echo 'Deleted'; ?>