?????????? ????????? - ??????????????? - /home/agenciai/public_html/cd38d8/smtp-save.php.tar
???????
home/agenciai/public_html/php_mailer/smtp-save.php 0000644 00000001675 15124777770 0016340 0 ustar 00 <?php // TEMPORARY DEBUGGING - REMOVE LATER ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); require_once 'config.php'; requireLogin(); if (!isset($_GET['id'])) { header('Location: index.php?error=No+profile+selected'); exit; } $id = $_GET['id']; $profiles = getSMTPProfiles(); // Check if profile exists if (!isset($profiles[$id])) { header('Location: index.php?error=Profile+not+found'); exit; } // Prevent deleting the last profile if (count($profiles) <= 1) { header('Location: index.php?error=Cannot+delete+the+only+profile'); exit; } // Remove the profile unset($profiles[$id]); // If the deleted profile was the default, set a new default if ($_SESSION['default_smtp'] == $id) { unset($_SESSION['default_smtp']); } // Save the updated profiles saveSMTPProfiles($profiles); // Redirect with success message header('Location: index.php?success=Profile+deleted'); exit;
| ver. 1.6 |
Github
|
.
| PHP 8.2.30 | ??????????? ?????????: 0 |
proxy
|
phpinfo
|
???????????