FAST CODER | PHP TEAM
241 subscribers
278 photos
75 videos
783 files
671 links
🏁Dasturlashga qadam ❗️

💣Backend

💻PHP bo'yicha bepul darslar❗️

👨🏻‍💻 @Rustam_Hikmatullayev

🌐Dasturlashda:
📊5 yillik tajriba
👥50+ shogirt
🤝100+ hamkor
Download Telegram
Bot ochmoqchisiz☺️

Lekin php kodlar topa olmayapsizmi🙁

Qayerdan topsam ekan deb oylanmang🤔

Sizlarga juda aktiv bolgan kanalni taklif qilaman!😅

@phpdevelopersuz

Каналга уланиб олинг:
👉
https://t.me/joinchat/AAAAAFBoEgAVaN5GSg82YA
Assalomu alaykum barcha myxost.uz hosting saytimizning foydalanuvchilariga !

myxost.uz da Super yangilik
Endilikda siz uchun alohida server qilib qo`ydik oyiga atiga 37 500 so`m evaziga o`z proektingizni juda ham katta tezlikda va eng muhumi cheksiz joylar va RAM, CPU, lar orqalik ishga tushuring

Bu hostingimiz uchun alohida zo`r server qilib qo`yganmiz Madeline, CRON, va saytlar ro`yhati cheksiz bo`ladi ko`p gapirgandan ko`rsa sinab ko`rgan yaxshi deb o`ylayman :)

Yorqin keljak sari myxost.uz !

Каналга уланиб олинг:
👉
https://t.me/joinchat/AAAAAFBoEgAVaN5GSg82YA
Forwarded from Xushnudbek.uz
Талабалар ва уларнинг ота-оналари учун сўровнома.

Олий таълим муассасаларида анъанавий дарс машғулотлари бошланишини истайсизми?
Anonymous Poll
47%
Ҳа, барча тўлиқ анъанавийга ўтса, таълим сифати ошар эди
21%
Ҳа, аммо истаганларга анъанавий, истамаганларга онлайн бўлсин
32%
Йўқ, онлайнда қолавериш керак, касаллар кўпайиб кетиши мумкин
👥 Telegram & Instagram like va odam nakrutka qilish telegram bot orqali bot manzilari video izohi ostida:
https://youtu.be/kcFPquORJBw

Каналга уланиб олинг:
👉
https://t.me/joinchat/AAAAAFBoEgAVaN5GSg82YA
Biz ham xosting sayt ochamizmi

Narxlar 500Mb 0.1 rubl kuniga 1Gb 0.15 rubl kuniga 2Gb 0.2 rubl kuniga 5Gb 0.4 rubl kuniga 10Gb 0.7 rubl kuniga Tezkor xosting PHP,Pyhton,Ccs va boshqalr
Anonymous Poll
41%
Ha yaxshi Bo'lardi
30%
Qimmatku
9%
Narxni qizigi yoq tez ishlasa boldi
10%
Kuchli himoyalangan bo'lsin
10%
Kutib turibmiz ochilishini
#new #Yangilandi

😎Kop account bot yangilandi
Endi siz
🇱🇷Usa
🇷🇺Rossiya
🇱🇻Latviya
🇲🇨Polsha
🇩🇪Germaniya
No'merlari
🤖Bot tokeni va 💣Pubg mobile(lite)uchun chit
🎯Kanalingizga Nakutka xizmati

🇺🇿😱😱😱Hatto uzb nomerga ham telegram accountga ega bolasiz

Hoziroq kirib ozingizga keragini oling

@Kop_Account_Bot

Каналга уланиб олинг:
👉
https://t.me/joinchat/AAAAAFBoEgAVaN5GSg82YA
🤗Assalomu aleykum hurmatli kanalimiz a'zolari.
👨‍💻Men @BeCi_Bloger hozirda bir bot ustida ishlayapman.
🥳U botning vazifasi telegramda turib php botlaringizni ulab beradi.
🤖Bot useri: @BeCiHostingBot
🤫Bot hozircha xulflangan.
😴Botim 100% ishga tushgandan keyin parolini hammaga aytaman.

Каналга уланиб олинг:
👉
https://t.me/joinchat/AAAAAFBoEgAVaN5GSg82YA
💰HaqiqiyUz bilan birgalikda pul ishlang aksiyasiga xush kelibsiz!

📌Sizning referal havolangiz👇

🔗https://t.me/haqiqiyuz_bot?start=554834550

🔰Linkni do'stlaringizga ulashing va daromad oling! Har bir taklif qilingan foydalanuvchi uchun 1000 so'm olasiz!

Каналга уланиб олинг:
👉
https://t.me/joinchat/AAAAAFBoEgAVaN5GSg82YA
21-oktabr O`zbek tiliga davlat tili maqomi berilgan kun 
Guruhimiz nomidan tabriklaymiz!

Каналга уланиб олинг:
👉
https://t.me/joinchat/AAAAAFBoEgAVaN5GSg82YA
<?php
//manbaga Tegilmasin Tegilsa Kod ishlamidi
///@Fast_Coder kanali uchun maxsus
///@Fast_Koder tomonidan tarqatildi
if (!file_exists('madeline.php')) {
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
} //manbaga Tegilmasin @XACKERUZBOLA tomonidan yaratildi va @Fast_Coder kanali uchun maxsus
///@Fast_Koder tomonidan tarqatildi
include 'madeline.php';
//manbaga Tegilmasin Tegilsa Kod ishlamidi
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();
//soat
$time=date("H:i",strtotime("+2 hour"));
$time = str_replace('1', '1️⃣', $time);
$time = str_replace('2', '2️⃣', $time);
$time = str_replace('3', '3️⃣', $time);
$time = str_replace('4', '4️⃣', $time);
$time = str_replace('5', '5️⃣', $time);
$time = str_replace('6', '6️⃣', $time);
$time = str_replace('7', '7️⃣', $time);
$time = str_replace('8', '8️⃣', $time);
$time = str_replace('9', '9️⃣', $time);
$time = str_replace('0', '0️⃣', $time);
//sana
$kun=date("d-m-Y",strtotime("5 hour"));
//obhavo
$obh = file_get_contents('https://fa.weather.town/uz/forecast/uzbekistan/toshkent-shahri/tashkent/');
$ex = explode('title="Havo harorati"',$obh);
$exi = explode('right-container',$ex[1]);
$ubk = str_replace($exi[1],' ',$ex[1]);
$ubk1 = str_replace('dir="ltr">',' ',$ubk);
$ubk2 = str_replace('<div class="informer-main-page__container fleft right-container',' ',$ubk1);
$ubk3 = str_replace('&deg;C</div>',' ',$ubk2);
$ubk4 = str_replace('</div>',' ',$ubk3);
$obhavo = trim("$ubk4");
//hafta
$haf = date('N',strtotime('5 hour'));
$haft="1𝔻𝕦𝕤𝕙𝕒𝕟𝕓𝕒1 2🅢︎🅔︎🅢︎🅗︎🅐︎🅝︎🅑︎🅐︎2 3ᴄʜᴏʀsʜᴀɴʙᴀ3 4Ⓟ︎Ⓐ︎Ⓨ︎Ⓢ︎Ⓗ︎Ⓐ︎Ⓝ︎Ⓑ︎Ⓐ︎4 5🄹🅄🄼🄰5 6S͎h͎a͎n͎b͎a͎6 7ʸᵃᵏˢʰᵃⁿᵇᵃ7";
$ex=explode("$haf",$haft);
$hafta="$ex[1]";
$input = ["☁️Bᴜɢᴜɴɢɪ Kᴜɴ - $hafta 👈"];
$rand=array_rand($input);
$text="$input[$rand]";
$nik = ["🇺🇿 $hafta |•••乂ᴀᴄᴋᴇʀᴜᴢʙᴏʟᴀ•••| $time 🇺🇿"];
$nikrand=array_rand($nik);
$niktxt="$nik[$nikrand]";
$MadelineProto->account->updateProfile(['first_name'=>"$niktxt",'about'=>"📆$kun • $time • 🌤️$obhavo C°| $text"]);
$MadelineProto->account->updateStatus(['offline' => false, ]);
//manbaga Tegilmasin @XACKERUZBOLA tomonidan yaratildi va @Fast_Coder kanali uchun maxsus
///@Fast_Koder tomonidan tarqatildi
$yil = date("Y", strtotime("5 hour"));
$sana = date("d.m Y", strtotime("5 hour"));
$soat = date("H:i",strtotime("+2 hour"));
//manbaga Tegilmasin @XACKERUZBOLA tomonidan yaratildi va @Fast_Coder kanali uchun maxsus
///@Fast_Koder tomonidan tarqatildi
$logo = ["//api logoning sayt manzilini qoyasiz va songida $soat yozasiz//"];
$logorand=array_rand($logo);
$logopic="$logo[$logorand]";

if($yil == "2020"){
header('Content-type: image/jpg');
file_put_contents("got.jpg",file_get_contents($logopic));
$info = $MadelineProto->get_full_info('me');
$inputPhoto = ['_' => 'inputPhoto', 'id' => $info['User']['photo']['photo_id'], 'access_hash' => $info['User']['access_hash'], 'file_reference' => 'bytes'];
$deletePhoto = $MadelineProto->photos->deletePhotos(['id'=>[$inputPhoto]]);
}
$MadelineProto->photos->updateProfilePhoto(['file' => "got.jpg" ]);
?>


//Bu Kod @XaCkeRUzBola ga tegishlidir
<?php
ob_start();

define('API_KEY','**TOKEN**');
##------------------------------##
define('API_KEY',$API_KEY);
echo "<a href='https://api.telegram.org/bot$API_KEY/setwebhook?url=".$_SERVER['SERVER_NAME']."".$_SERVER['SCRIPT_NAME']."'>setwebhook</a>";
function bot($method,$datas=[]){
$url = "https://api.telegram.org/bot".API_KEY."/".$method;
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
curl_setopt($ch,CURLOPT_POSTFIELDS,$datas);
$res = curl_exec($ch);
if(curl_error($ch)){
var_dump(curl_error($ch));
}else{
return json_decode($res);
}
}
function sendmessage($chat_id, $text, $model){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>$text,
'parse_mode'=>$mode
]);
}
function sendphoto($chat_id, $photo, $captionl){
bot('sendphoto',[
'chat_id'=>$chat_id,
'photo'=>$photo,
'caption'=>$caption,
]);
}
function sendaudio($chat_id, $audio, $caption, $title ,$performer){
bot('sendaudio',[
'chat_id'=>$chat_id,
'audio'=>$audio,
'caption'=>$caption,
'title'=>$title,
'performer'=>$performer
]);
}
function senddocument($chat_id, $document, $caption){
bot('senddocument',[
'chat_id'=>$chat_id,
'document'=>$document,
'caption'=>$caption
]);
}
function sendsticker($chat_id, $sticker){
bot('sendsticker',[
'chat_id'=>$chat_id,
'sticker'=>$sticker
]);
}
function sendvideo($chat_id, $video, $caption){
bot('sendvideo',[
'chat_id'=>$chat_id,
'video'=>$video,
'caption'=>$caption
]);
}
function sendvideonote($chat_id, $video_note, $caption){
bot('sendvideo',[
'chat_id'=>$chat_id,
'video'=>$video_note,
'caption'=>$caption
]);
}
function sendvoice($chat_id, $voice, $caption){
bot('sendvoice',[
'chat_id'=>$chat_id,
'voice'=>$voice,
'caption'=>$caption
]);
}

function sendaction($chat_id, $action){
bot('sendchataction',[
'chat_id'=>$chat_id,
'action'=>$caption
]);
}
function objectToArrays($object)
{
if (!is_object($object) && !is_array($object)) {
return $object;
}
if (is_object($object)) {
$object = get_object_vars($object);
}
return array_map("objectToArrays", $object);
}
//====================Tikapp======================//
$update = json_decode(file_get_contents('php://input'));
$message = $update->message;
$from_id = $message->from->id;
$chat_id = $message->chat->id;
$first_name = $message->from->first_name;
$last_name = $message->from->last_name;
$username = $message->from->userame;
$text = $message->text;

//qoshimcha
$guruhlar = file_get_contents("stat/group.list");
$userlar = file_get_contents("stat/user.list");
$chat_id2 = $update->callback_query->message->chat->id;
$update = json_decode(file_get_contents('php://input'));
$message_id2 = $update->callback_query->message->message_id;
$ufname = $update->message->from->first_name;
$uname = $update->message->from->last_name;
$ulogin = $update->message->from->username;
$user_id = $update->message->from->id;
mkdir("stat");

$us = bot('getChatMembersCount',[
'chat_id'=>$cid
]);
$count = $us->result;



$chatid = $update->callback_query->message->chat->id;
$data = $update->callback_query->data;
$message_id = $update->callback_query->message->message_id;
$reply = $update->message->reply_to_message;
$mroan = file_get_contents("mroan.txt");
$ADMIN = "**ADMIN**";
//====================Tikapp======================//
if(preg_match('/^\/([Ss]tart)/',$text)){
$user = file_get_contents('Member.txt');
$members = explode("\n",$user);
if (!in_array($chat_id,$members)){
$add_user = file_get_contents('Member.txt');
$add_user .= $chat_id."\n";
file_put_contents('Member.txt',$add_user);
}
sendaction($chat_id, typing);
bot('sendmessage', [
'chat_id' => $chat_id,
'disable_web_page_preview'=>true,
'text' =>"*Salom* [$ufname $uname](tg://user?id=$user_id) 🎓

♻️*Converter Botimizga Xush Kelibsiz

Botimizning Vazifalari👇

📸Rasmni Conver Qiladi Yani (jpg) Farmatdegi Faylni (png) Farmatga Ko'chirib be
radi
Va (png) Farmatni (jpg) Farmatga Aylantirib Beradi
Va Rasmni 🎊Stiker Qilib Xam Beradi

🎤Qo'shiqni 🎧Golos - 🎧Golosni esa 🎤Qo'shiq Qilib Beradi

🎥Videoni Esa Ovozini Uzini 🎶mp3 Farmatida Tashlab beradi Va Vidyo Tashlasez Uni Gif Ko'rinishida Tashledi*
",
'parse_mode'=>"Markdown",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[
['text'=>"🔂 Boshlash 🌠",'callback_data'=>"a"]
],

[['text'=>'📊Statistika', 'callback_data' => "stat1"],['text'=>'🤖 Botlarimiz', 'callback_data'=> "botlarimiz"]]




]
])
]);
}

elseif($data == "orqa"){
bot('editmessagetext',[
'chat_id'=>$chatid,
'disable_web_page_preview'=>true,
'message_id'=>$message_id,
'text'=>"Salom [$ufname $uname](tg://user?id=$user_id) 🎓

♻️*Converter Botimizga Xush Kelibsiz

Botimizning Vazifalari👇

📸Rasmni Conver Qiladi Yani (jpg) Farmatdegi Faylni (png) Farmatga Ko'chirib beradi
Va (png) Farmatni (jpg) Farmatga Aylantirib Beradi
Va Rasmni 🎊Stiker Qilib Xam Beradi

🎤Qo'shiqni 🎧Golos - 🎧Golosni esa 🎤Qo'shiq Qilib Beradi

🎥Videoni Esa Ovozini Uzini 🎶mp3 Farmatida Tashlab beradi Va Vidyo Tashlasez Uni Gif Ko'rinishida Tashledi*",
'parse_mode'=>"MarkDown",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[
['text'=>"🔂 Boshlash 🌠",'callback_data'=>"a"]
],
[['text'=>'📊Statistika', 'callback_data' => "stat1"],['text'=>'🤖 Botlarimiz', 'callback_data'=> "botlarimiz"]]




]
])
]);
}

//====================Tikapp======================//

elseif($data == "a"){
bot('editmessagetext',[
'chat_id'=>$chatid,
'disable_web_page_preview'=>true,
'message_id'=>$message_id,
'text'=>"🎐┇_Conver Bo'limi _🔁

🔰*Conver Qilmoqchi Bolgan Narsezi Tanlen*👇

- [Kanalimiz 📡](t.me/PHP_MASTER_CLASS)",
'parse_mode'=>"MarkDown",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>"🌌 RASM 🌠",'callback_data'=>"c"],['text'=>"🎥 Video 🎞",'callback_data'=>"d"]],
[['text'=>"♪ Music-Golos 🎵",'callback_data'=>"e"]],
[['text'=>"🔙 Orqaga",'callback_data'=>"orqa"]]
]
])
]);
}
elseif($data == "back"){
bot('editmessagetext',[
'chat_id'=>$chatid,
'message_id'=>$message_id,
'text'=>"🎐┇_Conver Bo'limi_🔁

🔰*Conver Qilmoqchi Bo'lgan Narsezi Tanlen*👇

- [Kanalimiz 📡](t.me/Qirmirvoy)",
'parse_mode'=>"MarkDown",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>"🌌 RASM 🌠",'callback_data'=>"c"],['text'=>"🎥 VIDEO 🎞",'callback_data'=>"d"]],
[['text'=>"♪ Music-Golos🎤",'callback_data'=>"e"]],
[['text'=>"🔙 Orqaga",'callback_data'=>"orqa"]]
]
])
]);
}
//====================Photo======================//
elseif($data == "c"){
bot('editmessagetext',[
'chat_id'=>$chatid,
'message_id'=>$message_id,
'text'=>"🌋 *Rasmni Qaysi Farmatga Ko'chirmoqchisiz

Munyuni Tanlen*",
'parse_mode'=>"MarkDown",
'reply_markup'=>json_encode([
'inline_keyboard'=>[

[['text'=>" Rasmdan 🔜 PNGga💾",'callback_data'=>"c1"],['text'=>"󸐠 Rasmdan 🔜Stikerga 🔆",'callback_data'=>"c4"]],
[['text'=>"PNGdan 🔜 Rasmga💾",'callback_data'=>"c2"],['text'=>'☀️ Stickerdan ➡️ Rasmga 🖼','callback_data'=>"c3"]],
[['text'=>"Stickerdan 🔜 PNGga💾",'callback_data'=>"c5"],['text'=>'💾PNGdan ➡️ Stickerga ','callback_data'=>"c3"]],[['text'=>"Text To Sticker",'callback_data'=>"hj"]],
[['text'=>"🔙 Orqaga",'callback_data'=>"back"]]
]
])
]);
}

elseif($data == "c1"){
file_put_contents("mroan.txt","c1");
bot('editmessagetext',[
'chat_id'=>$chatid,
'message_id'=>$message_id,
'text'=>"*JPG Farmatdegi Rasm Yuboring 💽 Sizga PNG Farmatda Tashlab Beraman📦*",
'parse_mode'=>"MarkDown",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[
['text'=>"
🔙Orqaga",'callback_data'=>"c"]
]
]
])
]);
}
elseif($data == "c2"){
file_put_contents("mroan.txt","c2");
bot('editmessagetext',[
'chat_id'=>$chatid,
'message_id'=>$message_id,
'text'=>"*PNG Farmatdegi Rasm Yuboring Uni Sizga JPG Farmatda Tashlab Beraman 🌌*",
'parse_mode'=>"MarkDown",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[
['text'=>"🔙Orqaga",'callback_data'=>"c"]
]
]
])
]);
}
elseif($data == "c3"){
file_put_contents("mroan.txt","c3");
bot('editmessagetext',[
'chat_id'=>$chatid,
'message_id'=>$message_id,
'text'=>"*Rasmga aylantirish uchun Stickerni yuboring*",
'parse_mode'=>"MarkDown",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[
['text'=>"🔙Orqaga",'callback_data'=>"c"]
]
]
])
]);
}
elseif($data == "c4"){
file_put_contents("mroan.txt","c4");
bot('editmessagetext',[
'chat_id'=>$chatid,
'message_id'=>$message_id,
'text'=>"*Biror Bir Rasm Yuboring 🃏Uni Sizga Stiker Ko'rinishida Yuboraman💘*",
'parse_mode'=>"MarkDown",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[
['text'=>"🔙Orqaga",'callback_data'=>"c"]
]
]
])
]);
}
elseif($data == "c5"){
file_put_contents("mroan.txt","c5");
bot('editmessagetext',[
'chat_id'=>$chatid,
'message_id'=>$message_id,
'text'=>"• *Biror Bir Sticker Yuboring 🃏Uni Sizga PNG Ko'rinishida Yuboraman💘*",
'parse_mode'=>"MarkDown",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[
['text'=>"🔙Orqaga",'callback_data'=>"c"]
]
]
])
]);
}
elseif($data == "c6"){
file_put_contents("mroan.txt","c6");
bot('editmessagetext',[
'chat_id'=>$chatid,
'message_id'=>$message_id,
'text'=>"•Biror Bir PNG Yuboring 🃏Uni Sizga Stiker Ko'rinishida Yuboraman💘*",
'parse_mode'=>"MarkDown",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[
['text'=>"🔙Orqaga",'callback_data'=>"c"]
]
]
])
]);
}
elseif($mroan == "c1"){
file_put_contents("mroan.txt","No");
$photo = $message->photo;
$file = $photo[count($photo)-1]->file_id;
$get = bot('getfile',['file_id'=>$file]);
$patch = $get->result->file_path;
file_put_contents('Mroanmohmmed.png',file_get_contents('https://api.telegram.org/file/bot'.$API_KEY.'/'.$patch));
bot('senddocument',[
'chat_id'=>$chat_id,
'document'=>new CURLFile('Mroanmohmmed.png'),
]);
}
elseif($mroan == "c2"){
file_put_contents("mroan.txt","No");
$document = $message->document;
$file = $document->file_id;
$get = bot('getfile',['file_id'=>$file]);
$patch = $get->result->file_path;
file_put_contents('Mroanmohmmed.png',file_get_contents('https://api.telegram.org/file/bot'.$API_KEY.'/'.$patch));
bot('sendphoto',[
'chat_id'=>$chat_id,
'photo'=>new CURLFile('Mroanmohmmed.png'),
]);
}
elseif($mroan == "c3"){
file_put_contents("mroan.txt","No");
$sticker = $message->sticker;
$file = $sticker->file_id;
$get = bot('getfile',['file_id'=>$file]);
$patch = $get->result->file_path;
file_put_contents('Mroanmohmmed.png',file_get_contents('https://api.telegram.org/file/bot'.$API_KEY.'/'.$patch));
bot('sendphoto',[
'chat_id'=>$chat_id,
'photo'=>new CURLFile('Mroanmohmmed.png'),
]);
}
elseif($mroan == "c4"){
file_put_contents("mroan.txt","No");
$photo = $message->photo;
$file = $photo[count($photo)-1]->file_id;
$get = bot('getfile',['file_id'=>$file]);
$patch = $get->result->file_path;
file_put_contents('Mroanmohmmed.png',file_get_contents('https://api.telegram.org/file/bot'.$API_KEY.'/'.$patch));
bot('sendsticker',[
'chat_id'=>$chat_id,
'sticker'=>new CURLFile('Mroanmohmmed.png'),
]);
}
elseif($mroan == "c5"){
file_put_contents("mroan.txt","No");
$sticker = $message->sticker;
$file = $sticker->file_id;
$get = bot('getfile',['file_id'=>$f