<?php
$url = 'https://example.com/file.zip';

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

$data = curl_exec($ch);
curl_close($ch);

file_put_contents('file.zip', $data);


ุจู„ุบู‡ ุงู„ููŠู„ php ุงู„ุนู…ู„ุงู‚ ๐Ÿ–ฅ
ูŠุนู…ู„ ุงู„ูƒูˆุฏ ุนู„ู‰ ุณุญุจ ู…ู„ู ู…ุถุบูˆุท (ZIP) ู…ู† ุนู†ูˆุงู† URL ู…ุญุฏุฏ ูˆุชุฎุฒูŠู†ู‡ ู…ุญู„ูŠู‹ุง ุนู„ู‰ ุงู„ุฎุงุฏู… ุจุงุณู… "file.zip".

ุจุดูƒู„ ุนุงู…ุŒ ูŠุนู…ู„ ู‡ุฐุง ุงู„ูƒูˆุฏ ุนู† ุทุฑูŠู‚ ุฅุฑุณุงู„ ุทู„ุจ HTTP ุฅู„ู‰ ุนู†ูˆุงู† URL ุงู„ู…ุญุฏุฏ ุจุงุณุชุฎุฏุงู… ู…ูƒุชุจุฉ cURLุŒ ุซู… ุงุณุชุฑุฏุงุฏ ุงู„ุจูŠุงู†ุงุช ุงู„ุชูŠ ุชู… ุฅุฑุฌุงุนู‡ุง ูˆุญูุธู‡ุง ุฅู„ู‰ ู…ู„ู ุนู„ู‰ ุงู„ุฎุงุฏู….
By : @Mh_Py ๐Ÿ‘ฉโ€๐Ÿ’ป
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from Doctor Octopus
ู…ุฏุฑุณู‡ ู…ุบุฑุจูŠู‡ ุชู… ุงุฎุชุฑุงู‚ู‡
https://massarservice.men.gov.ma/moutamadris/Account

User : [email protected]

Pass : SPIDERXofYemen967
Forwarded from Doctor Octopus
ู‡ูู†ุงู„ูƒ ู…ูˆุงู‚ุน ู…ุณุชู‡ุฏูู‡ ูƒุซูŠุฑู‡ ูˆู‡ุงุฐู‡ ู‡ูŠ ุงู„ุจุฏุงูŠู‡

ุงู„ูŠู…ู† ุฎุท ุงุญู…ุฑ ๐Ÿ‡พ๐Ÿ‡ช
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from Doctor Octopus
https://takwine.ofppt.ma/konosys/PC_MV_Login.aspx

User : PA254691

Pass : PA254691

ุงู„ูŠู…ู† ุฎุท ุงุญู…ุฑ ูŠุง ู…ุบุงุฑุจู‡ ๐Ÿ’€

#SPIDER-X
#DoctorOctopus
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
SPIDER-X
Photo
ู„ุง ุชุดุนู„ู‡ุง ูŠ ูˆู„ุฏ ๐Ÿ˜ญ๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚
Forwarded from ุตุงุนู‚
This media is not supported in your browser
VIEW IN TELEGRAM
SPIDER-X
Video message
ุงุญุฏ ุงู„ู…ุชุงุจุนูŠู† ููŠ ุงู„ุฎุงุต ูŠุฏุงูุน ุนู„ุง ุฅุฎูˆุชู‡ ุฅู„ุงุณุฑุงูŠู„ูŠู†ูŠู† ู…ุง ุฑุงุฆูƒู… ุจูƒู„ุงู…ู‡
Forwarded from Doctor Octopus
enssup.gov.ma.txt
133.6 MB
ูˆุฒุงุฑุฉ ุงู„ุชุฑุจูŠุฉ ูˆุงู„ุชุนู„ูŠู… ุงู„ู…ุบุฑุจูŠุฉ

#SPIDER-X
#DoctorOctopus
Forwarded from Doctor Octopus
ูˆุฒุงุฑู‡ ุงู„ุชุฑุจูŠู‡ ูˆุงู„ุชุนู„ูŠู… ุงู„ู…ุบุฑุจูŠู‡ โŒ

ุฏูƒุชูˆุฑ ุงุฎุทุจูˆุท ู„ู„ุชุฑุจูŠู‡ ูˆุงู„ุชุนู„ูŠู… โœ… ๐Ÿ’€

#SPIDER-X
#DoctorOctopus
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from Doctor Octopus
ู‚ุจู„ ู„ุง ุชุณูˆูˆู† ุฏูˆุฑุงุช ุชุฏุฑูŠุจูŠู‡ ุงุนุฑููˆ ุชุญู…ูˆ ู…ูˆู‚ุนูƒู… ๐Ÿคฃ๐Ÿคฃ

ูˆุฑุงูƒู… ูˆุฑุงูƒู… ูŠุง ุงู„ู…ุบุงุฑุจู‡
ุชุณุฌูŠู„ ุฏุฎูˆู„ ุงู„ุงุฎุทุจูˆุท
https://www.formation-recensement.ma/login

User: [email protected]

Pass: yBKkCkMb

#SPIDER-X
#DoctorOctopus
ู…ุง ู‡ูˆ ุฅุฎุฑุงุฌ ุงู„ูƒูˆุฏ ุงู„ุชุงู„ูŠ ููŠ ุจุงูŠุซูˆู†ุŸ

x = 5
y = 3
z = x // y
print(z)
ุงู„ู„ู‡ู… ููŠ ูŠูˆู… ุงู„ุฌู…ุนู‡ ุงุบูุฑ ู„ู†ุง ู…ุง ู…ุถุฆ ูˆุงุตู„ุญ ู„ู†ุง ู…ุง ุจู‚ู‰ุŒ ูˆุงูƒุชุจ ู„ู†ุง ุนููˆูƒ ูˆุฑุถุงูƒ ูˆุงู„ุฌู†ู‡.
Forwarded from Doctor Octopus
ุงุฎุชุฑุงู‚ ู…ูˆู‚ุน ุงูƒุงุฏูŠู…ูŠู‡ ุงู„ู…ู„ูƒูŠู‡ ุงู„ุนุณูƒุฑูŠู‡

ุงู„ุจุนุถ ูŠุชุณุงู„ ู„ู…ุงุฐุง ู†ุญู† ู†ุดู† ู‡ุฌู…ุงู„ ุนู„ู‰ ุฏูˆู„ู‡ ุนุฑุจูŠู‡ ุŸ

ุงู„ุณุจุจ ู‡ูˆุง ู‚ูŠุงู… ุงุญุฏ ุงุทูุงู„ ุงู„ู…ุบุฑุจ ุจุชุญุฏูŠู‡ ุงู„ู…ุจุงุดุฑ ู„ู„ุณุงูŠุจุฑ ุงู„ูŠู…ู†ูŠ ูˆู„ุนุจุซ ุจุงุญุฏ ุงู„ู…ูˆุงู‚ุน ุงู„ูŠู…ู†ูŠู‡ ูˆู‡ุงุฐุง ูƒุงู† ุฑุฏ ุจุณูŠุท ุงุชู…ู†ุง ุงู† ุชุชุนู„ู…ูˆ ุงู„ุฏุฑุณ ูŠุง ุงุทูุงู„

ูˆู„ู† ู†ูƒุชููŠ ุจู‡ุงุฐุง ุงู„ู‚ุฏุฑ ูู‡ู†ุงูƒ ุงู„ูƒุซูŠุฑ ู…ู† ุงู„ู…ูุงุฌุงุช ูˆู„ุงูƒู† ุณู†ุฌุนู„ ุงูุนุงู„ู†ุง ู‡ูŠุง ุงู„ุชูŠ ุชุชุญุฏูŠุซ

#ุฏูƒุชูˆุฑ_ุงุฎุทุจูˆุท
#ุณุจุงูŠุฏุฑ_ุงูƒุณ
<?php

namespace SpidrX;

require 'vendor/autoload.php';

use Discord\Discord;
use Discord\Parts\User\Member;
use Discord\WebSockets\WebSocket;

// Replace with your bot token
$token = 'YOUR_BOT_TOKEN';

// Create a new Discord instance
$discord = new Discord([
    'token' => $token,
]);

// Register the femininity command
$discord->on('message', function (Message $message) use ($discord) {
    if ($message->content === '!femininity') {
        $femininity_test = new FemininityTest($message);
        $discord->loop->addPeriodicTimer(1, [$femininity_test, 'sendQuestion']);
    }
});

// Femininity test class
class FemininityTest
{
    private $message;
    private $questions;
    private $answers;
    private $female_questions;
    private $male_questions;
    private $female_points;
    private $male_points;
    private $current_question;

    public function __construct(Message $message)
    {
        $this->message = $message;
        $this->questions = [
            'ุฃุญุจ ุงุฑุชุฏุงุก ุงู„ูุณุงุชูŠู† ูˆุงู„ุชู†ุงู†ูŠุฑ ุฃูƒุซุฑ ู…ู† ุงู„ุจู†ุงุทูŠู„.',
            'ุฃูุถู„ ู‚ุถุงุก ุงู„ูˆู‚ุช ู…ุน ุงู„ุฃุตุฏู‚ุงุก ุนู„ู‰ ุงู„ุจู‚ุงุก ุจู…ูุฑุฏูŠ.',
            'ุฃู‡ุชู… ูƒุซูŠุฑู‹ุง ุจู…ุธู‡ุฑูŠ.',
            'ุฃุฌุฏ ุตุนูˆุจุฉ ููŠ ู‚ูˆู„ "ู„ุง" ู„ู„ุขุฎุฑูŠู†.',
            'ุฃุญุจ ู„ู…ุณ ุงู„ุฃุดูŠุงุก ุงู„ู†ุงุนู…ุฉ ูˆุงู„ู…ุฑูŠุญ.',
            'ุฃุดุนุฑ ุนุงุฏุฉ ุจุงู„ุชุนุงุทู ู…ุน ุงู„ุขุฎุฑูŠู†.',
            'ุฃุญุจ ู…ุดุงู‡ุฏุฉ ุงู„ุฃูู„ุงู… ุงู„ุฑูˆู…ุงู†ุณูŠุฉ ุฃูƒุซุฑ ู…ู† ุฃูู„ุงู… ุงู„ุฃูƒุดู†.',
            'ุฃูุถู„ ุงู„ุชุญุฏุซ ุนู† ุงู„ู…ุดุงุนุฑ ุจุฏู„ุงู‹ ู…ู† ุญู„ ุงู„ู…ุดูƒู„ุงุช.',
            'ุฃุญุจ ุทู‡ูŠ ุงู„ุทุนุงู… ูˆุชุฒูŠูŠู† ุงู„ู…ู†ุฒู„.',
            'ุฃุดุนุฑ ุจุฑุงุญุฉ ุฃูƒุจุฑ ุนู†ุฏู…ุง ุฃูƒูˆู† ู…ุญุงุทู‹ุง ุจุฃุดุฎุงุต ุขุฎุฑูŠู†.',
        ];
        $this->answers = ['ู†ุนู…', 'ู„ุง'];
        $this->female_questions = [2, 4, 6, 8, 10];
        $this->male_questions = [1, 3, 5, 7, 9];
        $this->female_points = 0;
        $this->male_points = 0;
        $this->current_question = 0;
    }

    public function sendQuestion()
    {
        if ($this->current_question < count($this->questions)) {
            $question = $this->questions[$this->current_question];
            $this->message->reply($question);
            $this->message->channel->awaitMessage(function (Message $message) {
                return $message->author->id === $this->message->author->id;
            }, [
                'timeout' => 60
            ])->then(function (Message $message) {
                $this->handleAnswer($message->content);
            });
            $this->current_question++;
        } else {
            $femininity_percentage = $this->calculateFemininity();
            $this->message->reply("ู†ุณุจู‡ ุงู„ุงู†ูˆุซุฉ ู„ุฏูŠูƒ ู‡ูŠ: {$femininity_percentage}%");
        }
    }

    private function handleAnswer($answer)
    {
        if (in_array($answer, $this->answers)) {
            if ($answer === 'ู†ุนู…') {
                if (in_array($this->current_question, $this->female_questions)) {
                    $this->female_points++;
                } else {
                    $this->male_points++;
                }
            } else {
                if (in_array($this->current_question, $this->male_questions)) {
                    $this->male_points++;
                } else {
                    $this->female_points++;
                }
            }
        } else {
            $this->message->reply('ุฅุฌุงุจุฉ ุบูŠุฑ ุตุญูŠุญุฉ. ูŠุฑุฌู‰ ุงู„ุฅุฌุงุจุฉ ุจู†ุนู… ุฃูˆ ู„ุง.');
        }
    }

    private function calculateFemininity()
    {
        return ($this->female_points / ($this->female_points + $this->male_points)) * 100;
    }
}

// Start the Discord bot
$discord->run();


ุจูˆุช ุงุฎุชุจุงุฑ ู†ุณุจู‡ ุงู„ุงู†ูˆุซู‡ ูŠุนุทูŠูƒ ุงุณุฆู„ู‡ ูˆุงู†ุช ุชุฌุงูˆุจ ูˆุจุนุฏูŠู† ุญุฏุฏ ู†ุณุจู‡ ุงู†ูˆุซุชูƒ
ุจู„ุบู‡ php ๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚
ู…ุง ู‡ูŠ ูˆุธูŠูุฉ ุงู„ุฏุงู„ุฉ sorted() ููŠ ุงู„ูƒูˆุฏ ุงู„ุชุงู„ูŠุŸ

my_list = ["cherry", "apple", "banana"]
sorted_list = sorted(my_list)
print(sorted_list)
ู…ุง ู‡ูˆ ุฅุฎุฑุงุฌ ุงู„ูƒูˆุฏ ุงู„ุชุงู„ูŠ ููŠ ุจุงูŠุซูˆู†ุŸ

my_list = [1, 2, 3] my_list.pop() print(my_list)
Anonymous Quiz
33%
3. 3
40%
2. 1, 2, 3
28%
1. 1, 2
2024/05/12 04:11:59
Back to Top
HTML Embed Code: