Useful Coders | IT News
73 subscribers
58 photos
3 videos
92 files
36 links
Download Telegram
Live stream started
Live stream finished (20 minutes)
Qaysi kodni tarqataylik?
kino-bot.zip
1 MB
Kinobot kodi
Dasturlash tili: Python


@UsefulCoders
๐Ÿ‘2
PulBot.zip
10.5 KB
๐Ÿ’ฐ PulBot Kodi
๐Ÿ’ฌ Manba: @AcodersUz
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ”ฅ PHP da HTML teglarini olib tashlashning eng oson usuli strip_tags() funksiyasidan foydalanishdir. Ushbu funksiya berilgan matn ichidagi barcha HTML teglarini olib tashlaydi.

<?php$html_content = "<p>This is a <strong>sample</strong> HTML content with <a href='#'>links</a>.</p>";
$clean_content = strip_tags($html_content);
echo $clean_content; // Natija: This is a sample HTML content with links.
?>


๐Ÿ’ฌ Manba: @Uzbek_PHP
๐Ÿ’ก @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM
PHPYuklabBot.php
50.8 KB
๐Ÿ’ฌ Bu kod yordamida bot ochib shaxsiy kodlaringizni osongina sotsangiz bo'ladi!
๐Ÿš€ Manba: @Education_PHP
Please open Telegram to view this post
VIEW IN TELEGRAM
AvtoXabar.php
7.6 KB
โœ… AvtoXabar bot kodi
๐Ÿ”— Manba: @PersonalCoder
๐Ÿ‘ค Dasturchi: @Azizbeekh
Please open Telegram to view this post
VIEW IN TELEGRAM
if($text=="/my"){
$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,
'reply_to_message_id'=>$mid,
'parse_mode'=>'html',
]);
}


๐Ÿ‘ค Foydalanuvchini profil rasmini olib beruvchi funksiya!
๐ŸŒ @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM
return bot('setmessagereaction', [
'chat_id' => $cid,
'message_id' => $mid,
'reaction' => json_encode(array([
'type' => 'emoji',
'emoji' => $reaction,
])
)
]);
}

if(isset($message)){
$reactions = ['๐Ÿ˜‡', '๐Ÿคฏ', '๐Ÿค','๐Ÿ”ฅ','โค๏ธ','๐Ÿ†', '๐Ÿคทโ€โ™‚๏ธ', '๐Ÿ‘','๐Ÿ‘','๐Ÿค“','๐Ÿ˜Ž','๐Ÿ‘Œ',];
$randomReaction = $reactions[array_rand($reactions)];
reaction($cid, $mid, $randomReaction);
}


๐ŸŽฒ Random reaksiya bosib beadigan funksiya bot uchun.
๐ŸŒ @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘2
$update = json_decode(file_get_contents('php://input')); 
$type = $message->chat->type;
$text = $message->text;
$cid = $message->chat->id;
$ispremium = $message->from->is_premium;

if($text=="/start" and $type == "private"){
bot('sendmessage',[
'chat_id'=>$cid,
'reply_to_message_id'=>$mid,
'text'=>"๐Ÿ‘‹ Salom bizni botimizga xush kelibsiz!",
'parse_mode' => 'html',
]);
if($ispremium){
bot('sendmessage',[
'chat_id'=>$cid,
'text'=>"<b>โญ๏ธ Premiumingiz bor ekan!\n๐Ÿงฐ Kanalimizga ovoz bering!\n\nhttps://t.me/boost/UsefulCoders</b>",
'parse_mode' => 'html',
]);
}else{}
}


โญ๏ธ Foydalanuvchini premiumi bo'lsa ovoz bering funksiya bot uchun.
๐ŸŒ @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM
<?php
header('Content-Type: application/json');

$rand = rand(0000,9999);
$url = "https://dummyimage.com/279x100/ffffff/000000.jpg&text=$rand";
//@by_alik
$result = array('captcha'=>[
'kod'=>$rand,
'matn'=>"<b>Inson ekanligingizni tasdiqlang!</b>\n\nRasmdagi kodni kiriting:",
'photo_url'=>$url,
]);
//@TgWebCoder
echo json_encode($result, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);

?>


โœ… Captcha bot uchun
๐ŸŒ @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM
KinoBot.php
24.6 KB
๐Ÿค– MySQLsiz Kino Bot
๐Ÿš€ Maker Botlarga ham tushadi
โš™๏ธ Manba: @sadiy_dev
๐ŸŒ @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘5๐Ÿค3๐Ÿ”ฅ2
InvestorFun.php
77 KB
๐Ÿ’ฐ Sarmoya bot yangi turi!
๐Ÿ”ฅ @ByDevs kanalidan oldik!
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿฅฐ2๐Ÿ‘1
Live stream started
Live stream finished (34 minutes)
<?php
if(isset($message->video)){
bot('deleteMessage',[
'message_id'=>$mid,
'chat_id'=>$chat_id,
]);
bot('SendMessage',[
'chat_id'=>$chat_id,
'text'=>"๐ŸŽฅ <b>Video yubormang!</b>",
'parse_mode'=>"html",
'relpy_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>"๐Ÿ‘ฅ Guruhga qo'shish",'url'=>"https://t.me/$bot?startgroup=new"]],
]
])
]);
}
?>

โžก๏ธ Video yubormang funksiya!
#function
โšก๏ธ @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘4
if(mb_stripos($text,"!ban")!==false){  
if($get == "administrator" or $get == "creator" or $uid==$admin){
bot('kickChatMember',[
'chat_id'=>$cid,
'user_id'=>$repid,
'can_send_messages'=>false,
'can_send_media_messages'=>false,
'can_send_other_messages'=>false,
'can_add_web_page_previews'=>false
]);
bot('sendmessage',[
'chat_id'=>$cid,
'parse_mode'=>'html',
'text'=>"<a href='tg://user?id=$repid'>$repname</a> guruhdan <b>KICK</b> va <b>BAN</b> qilindi!",
]);
}
}

โžก๏ธ Ban qilish funksiya!
#function
โšก๏ธ @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘5
starsavto.php
2.5 KB
โญ๏ธ Botlar uchun stars avto to'lov!
โšก๏ธ MySQLlik botlar uchun ishlaydi
โžก๏ธ @UsefulCoders
Please open Telegram to view this post
VIEW IN TELEGRAM
test bot.zip
21.4 KB
๐Ÿ˜Š Test kodi 100 foiz ishledi โœ…

๐Ÿค– Dasturlash PHP

๐ŸŒ Manba: @Professional_PHP

โœ…Reaksiya va comment kutaman๐Ÿ“จ
Please open Telegram to view this post
VIEW IN TELEGRAM
Obmen.zip
17.6 KB
ยซ๐Ÿ”„ Obmen Botยป kodi.โœ…

๐Ÿค–Ushbu kod oddiy obmen bot kodlaridan emas. Kodni Ichida siz boshqa obmen botlarda ko'rgan hamma funksiyalar mavjud va admin paneli ham mukammal.๐Ÿ˜ฑ

๐Ÿ‘จโ€๐Ÿ’ปManba:
@Org_Coder
๐Ÿš€Tarqatildi:
@UsefulCoders