@humoringman murojaat eting!
Please open Telegram to view this post
VIEW IN TELEGRAM
π2β€1π₯1
konkursga qoΚ»yilgan yutuq...
5k zayafka kanal
Please open Telegram to view this post
VIEW IN TELEGRAM
β€βπ₯2β€1π1π1
@xasradli_07 ga murojaat qiling
Please open Telegram to view this post
VIEW IN TELEGRAM
β€βπ₯1π1π³1
Bot orqali yechib olinmaydi
Murojaat: @humoringman
Please open Telegram to view this post
VIEW IN TELEGRAM
β€βπ₯1π1
π€·ββ3β€βπ₯1π1
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?