zayafkali majburiy obuna va cronli xabar yuborish full txtda tuzilgan!
Please open Telegram to view this post
VIEW IN TELEGRAM
β€βπ₯1π1
Please open Telegram to view this post
VIEW IN TELEGRAM
β€βπ₯2π1π1
πππππ¨πππ« ππππ¦
Please open Telegram to view this post
VIEW IN TELEGRAM
β€βπ₯1π1π³1
menubot@Fav_ke.php
7.5 KB
menubot kodi
Versiya: 0.5
Dasturchi: @Fav_ke
Yangilanishlar:
Qator sozlash bo'limi qushildi.
Xatoliklar tuzatildi.
Tezlik oshirildi.
Versiya: 0.5
Dasturchi: @Fav_ke
Yangilanishlar:
Qator sozlash bo'limi qushildi.
Xatoliklar tuzatildi.
Tezlik oshirildi.
Hamyonlarbot.zip
1.5 KB
Ushbu kodlar @HamyonlarBot dan tasdiqlash tugmasini bosmasdan oΚ»zi avto pul tushadigan qilsa boΚ»ladi
β οΈ Eslatma hamyonpay.php ni cron qilish estdan chiqmasin
πDemo @MsSeenBot
π§βπ» Dasturchi @Acert_Uzb
β οΈ Eslatma hamyonpay.php ni cron qilish estdan chiqmasin
πDemo @MsSeenBot
π§βπ» Dasturchi @Acert_Uzb
β€1
Hoziroq murojaat qiling harajatsiz harakat 0 ga tengdir!
Please open Telegram to view this post
VIEW IN TELEGRAM
β€βπ₯2π1
<?php
// === Sozlamalar ===
const BOT_TOKEN = "BU_YERGA_TOKENINGNI_KIRIT";
const API_URL = "https://api.telegram.org/bot".BOT_TOKEN."/";
// Tarix saqlanadigan fayl
const HISTORY_FILE = DIR . "/history.txt";
// Telegram API soβrovi
function tg_request($method, $params = []) {
$ch = curl_init(API_URL . $method);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => $params
]);
$res = curl_exec($ch);
curl_close($ch);
return json_decode($res, true);
}
// Xabar yuborish
function send_message($chat_id, $text, $reply_id = null) {
$data = [
"chat_id" => $chat_id,
"text" => $text,
"parse_mode" => "HTML"
];
if ($reply_id) $data["reply_to_message_id"] = $reply_id;
tg_request("sendMessage", $data);
}
// Tarixga yozish
function save_history($user_id, $expr, $result) {
$line = $user_id . ": " . $expr . " = " . $result . PHP_EOL;
file_put_contents(HISTORY_FILE, $line, FILE_APPEND);
}
function simple_calc($expr) {
if (!preg_match('/^[0-9+\-*/. ()]+$/', $expr)) {
throw new Exception("Faqat raqam va + - * / ishlatish mumkin");
}
// xavfsiz eval
$result = 0;
try {
// PHP eval
@eval('$result = ' . $expr . ';');
} catch (Throwable $e) {
throw new Exception("Hisoblashda xato");
}
if ($result === INF $result === -INF is_nan($result)) {
throw new Exception("Boβlishda xato");
}
return $result;
}
// === Update olish (Telegram webhook) ===
$update = json_decode(file_get_contents("php://input"), true);
if (!$update) exit;
$message = $update["message"] ?? null;
if (!$message) exit;
$chat_id = $message["chat"]["id"];
$text = trim($message["text"] ?? "");
$user_id = $message["from"]["id"];
if ($text === "/start") {
send_message($chat_id, "Salom! Menga arifmetik ifoda yozing.\nMasalan: 2+2*3");
exit;
}
if ($text === "/history") {
if (!file_exists(HISTORY_FILE)) {
send_message($chat_id, "Tarix boβsh");
} else {
$lines = file(HISTORY_FILE, FILE_IGNORE_NEW_LINES);
$user_lines = array_filter($lines, function($line) use ($user_id) {
return strpos($line, (string)$user_id . ":") === 0;
});
if (!$user_lines) {
send_message($chat_id, "Tarix topilmadi");
} else {
$last = array_slice($user_lines, -10);
send_message($chat_id, "Oxirgi hisoblaringiz:\n" . implode("\n", $last));
}
}
exit;
}
// Hisoblash
try {
$result = simple_calc($text);
save_history($user_id, $text, $result);
send_message($chat_id, "$text = $result");
} catch (Exception $e) {
send_message($chat_id, "Xato: " . $e->getMessage());
}
Sizda kalkulator bot kodi
Manba: @fav_ke
Version: 0.1
// === Sozlamalar ===
const BOT_TOKEN = "BU_YERGA_TOKENINGNI_KIRIT";
const API_URL = "https://api.telegram.org/bot".BOT_TOKEN."/";
// Tarix saqlanadigan fayl
const HISTORY_FILE = DIR . "/history.txt";
// Telegram API soβrovi
function tg_request($method, $params = []) {
$ch = curl_init(API_URL . $method);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => $params
]);
$res = curl_exec($ch);
curl_close($ch);
return json_decode($res, true);
}
// Xabar yuborish
function send_message($chat_id, $text, $reply_id = null) {
$data = [
"chat_id" => $chat_id,
"text" => $text,
"parse_mode" => "HTML"
];
if ($reply_id) $data["reply_to_message_id"] = $reply_id;
tg_request("sendMessage", $data);
}
// Tarixga yozish
function save_history($user_id, $expr, $result) {
$line = $user_id . ": " . $expr . " = " . $result . PHP_EOL;
file_put_contents(HISTORY_FILE, $line, FILE_APPEND);
}
function simple_calc($expr) {
if (!preg_match('/^[0-9+\-*/. ()]+$/', $expr)) {
throw new Exception("Faqat raqam va + - * / ishlatish mumkin");
}
// xavfsiz eval
$result = 0;
try {
// PHP eval
@eval('$result = ' . $expr . ';');
} catch (Throwable $e) {
throw new Exception("Hisoblashda xato");
}
if ($result === INF
throw new Exception("Boβlishda xato");
}
return $result;
}
// === Update olish (Telegram webhook) ===
$update = json_decode(file_get_contents("php://input"), true);
if (!$update) exit;
$message = $update["message"] ?? null;
if (!$message) exit;
$chat_id = $message["chat"]["id"];
$text = trim($message["text"] ?? "");
$user_id = $message["from"]["id"];
if ($text === "/start") {
send_message($chat_id, "Salom! Menga arifmetik ifoda yozing.\nMasalan: 2+2*3");
exit;
}
if ($text === "/history") {
if (!file_exists(HISTORY_FILE)) {
send_message($chat_id, "Tarix boβsh");
} else {
$lines = file(HISTORY_FILE, FILE_IGNORE_NEW_LINES);
$user_lines = array_filter($lines, function($line) use ($user_id) {
return strpos($line, (string)$user_id . ":") === 0;
});
if (!$user_lines) {
send_message($chat_id, "Tarix topilmadi");
} else {
$last = array_slice($user_lines, -10);
send_message($chat_id, "Oxirgi hisoblaringiz:\n" . implode("\n", $last));
}
}
exit;
}
// Hisoblash
try {
$result = simple_calc($text);
save_history($user_id, $text, $result);
send_message($chat_id, "$text = $result");
} catch (Exception $e) {
send_message($chat_id, "Xato: " . $e->getMessage());
}
Sizda kalkulator bot kodi
Manba: @fav_ke
Version: 0.1
MakerBotlar.zip
6 MB
4 xil turdagi maker botla π―
Manba Kod ichidaπ
βΌοΈzip ichidagi robot papka tarqalmagan shunde ekan foydalanib qolilaβΌοΈ
Dasturchi: ichida
#arxiv_2022
Tarqatdi: @fav_ke
βReaksiya Bosish tekinπ«€
Manba Kod ichidaπ
βΌοΈzip ichidagi robot papka tarqalmagan shunde ekan foydalanib qolilaβΌοΈ
Dasturchi: ichida
#arxiv_2022
Tarqatdi: @fav_ke
βReaksiya Bosish tekinπ«€
π4
favkenik01.php
4.4 KB
Nik bot kodi.
Version: 0.1
Dasturchi: @fav_ke
Bot haqida: ism yoki soz yozsaz unga 10 xil shalk nik yasab beradi. Botiz qushib olsaz buladi.
π€§ Vaqtim kam bulgani uchun va g'oya bulmagani uchun yozdim.
π³ reaksiya bosing mehnat uchun!
πAgar sizda bot yoki idea bulsa yozing tarqatamiz! Faqat kanal post tagiga yozing. Lichga yozmang
Version: 0.1
Dasturchi: @fav_ke
Bot haqida: ism yoki soz yozsaz unga 10 xil shalk nik yasab beradi. Botiz qushib olsaz buladi.
π€§ Vaqtim kam bulgani uchun va g'oya bulmagani uchun yozdim.
π³ reaksiya bosing mehnat uchun!
πAgar sizda bot yoki idea bulsa yozing tarqatamiz! Faqat kanal post tagiga yozing. Lichga yozmang
β€3
Portofolio.zip
686.9 KB
π Dostlar bomba sayt kodi!
π Manba: @CodeGalaxyAcademy
π Dasturchi: @Doston113
π€ Tarqatdi: @Fav_ke
π Dasturlash tilllari: html,css,js
π Hajmi: 686.9 kb / ZIP
π Namuna: https://super-crepe-05d686.netlify.app/
π Haqida: zamanoviy portfolio sayt kodi. Uzingiz shaxsiy brendiz yoki uziz haqida malumot berish uchun mukumal sayt!
#reaksiya or #cament
π Manba: @CodeGalaxyAcademy
π Dasturchi: @Doston113
π€ Tarqatdi: @Fav_ke
π Dasturlash tilllari: html,css,js
π Hajmi: 686.9 kb / ZIP
π Namuna: https://super-crepe-05d686.netlify.app/
π Haqida: zamanoviy portfolio sayt kodi. Uzingiz shaxsiy brendiz yoki uziz haqida malumot berish uchun mukumal sayt!
#reaksiya or #cament
β€οΈβπ₯ OpenBudget loyihasi yana boshlandi! Siz hali ham ruchnoy botlar ochib qiynalib yuribsizmi endi buning yechimi bor!
π OpenBudget avto apisi sotiladi jsonli api! realni oladiganlar @yurakda_qolgan yozsin kelishamiz!
π OpenBudget avto apisi sotiladi jsonli api! realni oladiganlar @yurakda_qolgan yozsin kelishamiz!
π2
β€βπ₯2β€1
πππππ¨πππ« ππππ¦
β€οΈβπ₯ OpenBudget loyihasi yana boshlandi! Siz hali ham ruchnoy botlar ochib qiynalib yuribsizmi endi buning yechimi bor! π OpenBudget avto apisi sotiladi jsonli api! realni oladiganlar @yurakda_qolgan yozsin kelishamiz!
Full kod sotiladi endi {faqat apini oΚ»zi emas} toΚ»liq kodi bilan beriladi!
davay tezlashib yozamiz
davay tezlashib yozamiz
β€βπ₯1
@webkurslar_bot
Shu bot kodi tarqatamizmi?
Shu bot kodi tarqatamizmi?
shaxsiyhos.php
12.4 KB
shaxsiyhos.php
Buni bir yaxshi odamlar berdi
kere bolsa ishlatilar odamlarga foydam tegsin....
Kimda host bot kodlari bosa menga ham joΚ»natilar
Buni bir yaxshi odamlar berdi
kere bolsa ishlatilar odamlarga foydam tegsin....
Kimda host bot kodlari bosa menga ham joΚ»natilar
newYear.zip
25.6 KB
π kod nomi: new Year
πΉvazifasi: Website lar uchun yangi yilga qancha qolganini ko`rsatadi
β dasturlash tili: html, css javascript
π§βπ»dasturchi: @SardorbekDev_2022
πΉvazifasi: Website lar uchun yangi yilga qancha qolganini ko`rsatadi
β dasturlash tili: html, css javascript
π§βπ»dasturchi: @SardorbekDev_2022
technews-website-master.zip
20.7 MB
π kod nomi: tech News
πΉvazifasi: Bu yangiliklarni aytuvchi website kodi
β dasturlash tili: html, css javascript
π§βπ»dasturchi: @SardorbekDev_2022
πΉvazifasi: Bu yangiliklarni aytuvchi website kodi
β dasturlash tili: html, css javascript
π§βπ»dasturchi: @SardorbekDev_2022
Hozirgi payta telegramda botlarga qiziqish so'ngan. Bilmadim nimaga endi telegram botlar hech kimga kerakmas deb tuyilyapti. dastur chilar kupayganiga telegram bot yozuvchilar kupaydi. Hozirga paytda python nisbatan php bot kodlari judda kup o'ta mukammal hisobga olmasak judda kup botlar kodlari tarqalgan. Tarqatishga kod qolmagan menimcha. Php kanallar toxtab qolgan.
Hamma fikr #camentda kuta man negativ kerakmas π€§
Hamma fikr #camentda kuta man negativ kerakmas π€§
β€2
π2β€βπ₯1π1