OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
old_sendy
/
includes
/
app
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/19/2025 10:07:16 AM
rwxr-xr-x
📄
check-email-verification.php
1.53 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
create.php
8.6 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
delete-logo.php
919 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
delete.php
2.86 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
download-errors-csv.php
1.3 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
duplicate.php
2.28 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
edit.php
8.45 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
generate-password.php
1.57 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
main.php
1.66 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
progress.php
881 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
verify-email.php
2.27 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
verify-login-email.php
808 bytes
05/19/2025 10:07:16 AM
rw-r--r--
Editing: delete-logo.php
Close
<?php include('../functions.php');?> <?php include('../login/auth.php');?> <?php //------------------------------------------------------// // INIT // //------------------------------------------------------// $app_id = isset($_POST['id']) && is_numeric($_POST['id']) ? mysqli_real_escape_string($mysqli, (int)$_POST['id']) : exit; $filename = mysqli_real_escape_string($mysqli, filter_var($_POST['filename'],FILTER_SANITIZE_SPECIAL_CHARS)); //------------------------------------------------------// // FUNCTIONS // //------------------------------------------------------// //delete file if(unlink('../../uploads/logos/'.basename($filename))) { //Remove filename from database $q = 'UPDATE apps SET brand_logo_filename = \'\' WHERE id = '.$app_id; $r = mysqli_query($mysqli, $q); if ($r) echo true; } ?>