FAST CODER | PHP TEAM
268 subscribers
278 photos
72 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
πŸ” πŸ” πŸ” DA 3 TA AJOYIB FUNKSIYAπŸ–₯

1 .strrev - Satrni teskari yozish uchun
2. shuffle - Tasoddifiy aralashtirish
3. file_put_contents - fayl yaratish

Misol uchun:

<?php
// 1. Satrni teskariga aylantirish
echo strrev("Salom"); // "molaS"

// 2. Massivni tasodifiy aralashtirish
$mevalar = ["Olma", "Banan", "Anor"];
shuffle($mevalar);
print_r($mevalar);

// 3. Fayl yaratish
file_put_contents("test.txt", "PHP zoβ€˜r!");
?>


#PHP #Fast_Coder #php_dars #PHP_Funksiyalar

✈️ @Fast_Coder
Please open Telegram to view this post
VIEW IN TELEGRAM
⚑2
🚨QAYSI PHP FRAMEWORKINI BILASIZ❓
Anonymous Poll
24%
🟒 Laravel
0%
🟒 Symfony
11%
🟒Yii2
66%
❌Hech biri
⚑2
πŸ‘¨β€πŸ’»DA TASODIFIY PAROL YARATISH

function generatePassword($length = 8) {  
$chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
return substr(str_shuffle($chars), 0, $length);
}
echo generatePassword(); // "X7gH2pLm"

🚨 Savol: Bu kodda xato bor. Topa olasizmi❓

#php_dars #fast_coder #PHP

πŸ“± @Fast_Coder
🌟Obuna bo'lish tekinβœ…
Please open Telegram to view this post
VIEW IN TELEGRAM
22⚑11
πŸ‘¨β€πŸ’» NI QANCHA BILASIZ?
Anonymous Poll
66%
♾️Boshlang'ich
23%
πŸš€O'rtacha
11%
β™ΎMukammal
➑️Qaysi post sizga koβ€˜proq yoqdi? 1-4 gacha raqam yozingπŸ’¬
Please open Telegram to view this post
VIEW IN TELEGRAM
⁉️⁉️⁉️⁉️⁉️

πŸ“ΉBugun 22:00 da dars

2️⃣-Dars

πŸ“ŒReja:

🟒echo ni sinashβœ…
🟒O'zgaruvchilar va ma'lumot turlariπŸ•
🟒string va int farqi⚠️
🟒Real kod yozib sinash❕
πŸŸ’πŸ’¬Savol-Javob❕


😎 @Fast_Coder
Please open Telegram to view this post
VIEW IN TELEGRAM
⚑54πŸ”₯1
FAST CODER | PHP TEAM pinned «⁉️⁉️⁉️⁉️⁉️ πŸ“ΉBugun 22:00 da dars 2️⃣-Dars πŸ“ŒReja: 🟒echo ni sinashβœ… 🟒O'zgaruvchilar va ma'lumot turlariπŸ• 🟒string va int farqi⚠️ 🟒Real kod yozib sinash❕ πŸŸ’πŸ’¬Savol-Javob❕ 😎 @Fast_CoderΒ»
Menga rosa kop odamlar yozibdi
Darsni bayramdan keyin boshlaylik deb nima deysizlar?
Anonymous Poll
30%
Bugun
70%
Bayramdan keyin
⚑3πŸ”₯11
Live stream started
FAST CODER | PHP TEAM
Menga rosa kop odamlar yozibdi
Darsni bayramdan keyin boshlaylik deb nima deysizlar?
⁉️⁉️⁉️⁉️⁉️
Please open Telegram to view this post
VIEW IN TELEGRAM
Live stream finished (3 minutes)
⚑2πŸ”₯11
FAST CODER | PHP TEAM
Voice message
🟦🟦🟦
Please open Telegram to view this post
VIEW IN TELEGRAM
Topinglarchi qanaqa loyiha❗️


πŸ–₯Pythonda ishladik bugun
Please open Telegram to view this post
VIEW IN TELEGRAM
⚑1πŸ”₯11
FAST CODER | PHP TEAM
Topinglarchi qanaqa loyiha❗️ πŸ–₯Pythonda ishladik bugun
πŸ’»Python
πŸ–₯Pythonda zakas bor edi⚑️

πŸ“žTelifon qilish funksiyasiπŸ˜„
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
2
Kodi qiziqmi tashlaymi? πŸ–±
Please open Telegram to view this post
VIEW IN TELEGRAM
FAST CODER | PHP TEAM
telifon_funksiyasi(@fast_coder).py
# Telegram kanal @fast_coder
# Dasturchi @rustam_hikmatullayev
# Groups @fastdevuz
# Manbani hurmat qilinglar!
import tkinter as tk
from tkinter import font

class TelefonKlaviatura:
def __init__(self, root):
self.root = root
self.root.title("Telefon Klaviatura")
self.root.geometry("300x450")
self.root.resizable(False, False)
self.root.configure(bg="#242424")
self.fast_coder = ""
self.fast_coder_1 = None
self.fast_coder_2 = False
self.fast_coder_4 = tk.Frame(root, bg="#242424", highlightbackground="#555555",
highlightthickness=1, width=280, height=60)
self.fast_coder_4.pack(pady=20)
self.fast_coder_4.pack_propagate(False)
self.fast_coder_5 = font.Font(family="Arial", size=18, weight="bold")
self.ekran = tk.Label(self.fast_coder_4, text="", bg="#242424", fg="#ffffff",
font=self.fast_coder_5, anchor="e", width=20)
self.ekran.pack(pady=15, padx=10, side=tk.RIGHT)
self.fast_coder_7 = tk.Frame(root, bg="#242424")
self.fast_coder_7.pack(pady=10)
self.tugmalar = {}
self.tugma_malumotlari = [
('1', 0, 0), ('2', 0, 1), ('3', 0, 2),
('4', 1, 0), ('5', 1, 1), ('6', 1, 2),
('7', 2, 0), ('8', 2, 1), ('9', 2, 2),
('*', 3, 0), ('0', 3, 1), ('#', 3, 2)
]

self.fast_coder_6 = font.Font(family="Arial", size=16, weight="bold")
for (belgi, qator, ustun) in self.tugma_malumotlari:
tugma = tk.Button(self.fast_coder_7, text=belgi, font=self.fast_coder_6,
width=3, height=1, bg="#333333", fg="#ffffff",
activebackground="#555555", activeforeground="#ffffff",
relief=tk.RAISED, bd=3)


if belgi == '0':
tugma.bind("<ButtonPress-1>", self.nol_tugma_boshlandi)
tugma.bind("<ButtonRelease-1>", self.nol_tugma_tugadi)
else:
tugma.config(command=lambda b=belgi: self.tugma_bosildi(b))

tugma.grid(row=qator, column=ustun, padx=10, pady=10)
self.tugmalar[belgi] = tugma

# Telegram kanal @fast_coder
# Dasturchi @rustam_hikmatullayev
# Groups @fastdevuz
# Manbani hurmat qilinglar!
self.qushimcha_ramka = tk.Frame(root, bg="#242424")
self.qushimcha_ramka.pack(pady=10)
self.ochirish_tugma = tk.Button(self.qushimcha_ramka, text="⌫", font=("Arial", 16, "bold"),
bg="#cb4335", fg="#ffffff",
activebackground="#e74c3c", activeforeground="#ffffff",
relief=tk.RAISED, bd=3, width=6, height=1,
command=self.ochirish)
self.ochirish_tugma.grid(row=0, column=0, padx=10, pady=10)
self.qongiroq_tugma = tk.Button(self.qushimcha_ramka, text="πŸ“ž", font=("Arial", 16, "bold"),
bg="#27ae60", fg="#ffffff",
activebackground="#2ecc71", activeforeground="#ffffff",
relief=tk.RAISED, bd=3, width=6, height=1,
command=self.qongiroq_qilish)
self.qongiroq_tugma.grid(row=0, column=1, padx=10, pady=10)
self.root.bind("<Key>", self.klaviatura_bosildi)
self.root.bind("<BackSpace>", lambda e: self.ochirish())
self.fast_coder_3 = None

def nol_tugma_boshlandi(self, event):
"""0 tugmasi bosilganda"""
self.fast_coder_1 = event.time
self.fast_coder_2 = False
self.fast_coder_3 = self.root.after(800, self.nol_uzoq_bosish)

def nol_uzoq_bosish(self):
"""0 tugmasi uzoq bosilganda"""
self.fast_coder_2 = True
self.fast_coder += "+"
self.ekran.config(text=self.fast_coder)