PHP bot kodlari | PHP Olami | PHP kodlar
142 subscribers
10 photos
1 video
78 files
27 links
๐Ÿ‘‘ Php jamoasiga xush kelibsiz!
โ”œ ๐Ÿ˜ PHP kodlar
โ”œ ๐Ÿ‘จโ€๐Ÿ’ป Tarqalmagan API kodlar
โ”” ๐Ÿ“ค Kerakli ilovalar
Barchasini biz orqali o'rganing!
Download Telegram
if($text=="/rasm"){
  $getp = file_get_contents("https://api.telegram.org/bot$token/getUserProfilePhotos?user_id=$uid&limit=1");
  $json = json_decode($getp);
  $photo = $json->result->photos[0][0]->file_id;
  bot('sendPhoto',[
    'chat_id'=>$cid,
    'photo'=>$photo,
   'caption'=>"Sizning profil rasm",
    'reply_to_message_id'=>$mid,
    'parse_mode'=>'html',
  ]);
}


Profildan rasm oladigan funksiya ๐Ÿ”ฐ
Manba: #fav_ke
menubot.php
19.1 KB
Yangicha menubot kodi!00
Manba: #fav_ke
P/s: Umaman tarqalmagan.
function captcha($uid){
$javob = file_get_contents("captcha/$uid.dat");
$captcha=file_get_contents("captcha/$uid.txt");
if($captcha==true){
return true;
}else{
$rand=rand(1,100);
file_put_contents("captcha/$uid.dat","$rand");
bot('sendphoto', [
'chat_id'=>$uid,
'photo'=>"https://dummyimage.com/279x100/ffffff/000000.jpg&text=Rasmdagi sonni kiriting: $rand ",
'caption'=>"<b>
๐Ÿ‘‹Salom, Iltimos Bot emasligingizni tasdiqlangโš ๏ธ</b>",
'parse_mode'=>"HTML",
]);
exit();
}
}
$update = json_decode(file_get_contents('php://input'));
$message = $update->message;
$cid = $message->chat->id;
$text = $message->text;
$tx = $message->text;
$uid= $message->from->id;
$captcha = file_get_contents("captcha/$uid.txt");
$javob = file_get_contents("captcha/$uid.dat");
mkdir("captcha");
if($text==$javob){
file_put_contents("captcha/$uid.txt","Successfully");
bot('SendMessage',[
'chat_id'=>$uid,
'text'=>"<b>๐Ÿ‘คInson ekanligingiz Tasdiqlandiโœ…</b>",
'parse_mode'=>"html",
]);
}
if($text=="$tx" and captcha($uid)=="true" and $text!="$javob"){
}

///โœ…Dasturchi va manba: #fav_ke

๐Ÿ‡บ๐Ÿ‡ฟ ๐—ž๐—ฎ๐—ป๐—ฎ๐—น๐—ด๐—ฎ ๐—ผ๐—ฏ๐˜‚๐—ป๐—ฎ ๐—ฏ๐—ผ'๐—น๐—ถ๐—ป๐—ด!
โžช @favke_academiya
Channel name was changed to ยซRedcodersยป
KinoBot.zip
6.7 KB
๐ŸŽฌ Kino bot kodi
๐Ÿ—ฃ๏ธ 4 tilga tarjima qilingan
๐Ÿ‘ฎโ€โ™‚ Administrator paneli:
๐Ÿ“ง Xabar yuboring
๐Ÿ“ข Kanallarni qo'shish va o'chirish
๐Ÿ“Š Statistika boti
๐Ÿ‘ฎ Admins: @alimov_tj & @Fav_ke
๐Ÿ“ข Kanallar:
@PHPmarket & @favke_family
๐Ÿ‘1
Ushbu bot kodi pastda โฌ‡๏ธ
๐Ÿ˜1