<form action="post.php" method="POST">
<input type="text" name="isim">
<input type="text" name="soyisim">
<input type="submit">
</form>
<?php
$token = "BOTFATHER'DAN ALINAN ID'İ YAZINIZ";
$mesaj = " Merhaba, Yeni bir Kullanıcımız var!
İsim: ".$_POST["isim"]. "
Soyisim: ".$_POST["soyisim"]. "
IP Adresi: ".$_SERVER["REMOTE_ADDR"]."";
$parametre= array(
'chat_id' => "GET MY CHATID'DEN ALINAN İD'İ YAZINIZ.",
'text' => $mesaj ,
);
$ch = curl_init();
$url = "https://api.telegram.org/bot".$token."/sendmessage";
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $parametre);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$result = curl_exec($ch);
?>