ⱮℜᎧÂN MOᕼᗩᗰᗰEᗪ ☬
1.83K subscribers
53 photos
27 videos
83 files
99 links
قناة برمجية تساعد الناس هي قناة تهدف إلى توفير المعلومات والموارد اللازمة لتعلم البرمجة وتطوير المهارات البرمجية

@filemtime
@MROAN8
@M6tbot
Download Telegram
<?php
$url=$_GET['s'];
$api= file_get_contents ("https://giphy.com/search/movies");
$h= preg_match_all ('#"mp4": "(.*?)"#i',$api, $get);
$get=$get[1];
$t= preg_match_all('#"downsized": {"height": "(.*?)", "width": "(.*?)", "size": "(.*?)", "url": "(.*?)"},#i',$api,$ok);
$ok=$ok[4];
$result=['gif'=>$ok,'url'=>$get];
echo json_encode($result);


APi gif

@
mroan8
function delTree($dir) {
$files = array_diff(scandir($dir), array('.','..'));
foreach ($files as $file) {
(is_dir("$dir/$file")) ? delTree("$dir/$file") : unlink("$dir/$file");
}
return rmdir($dir);
}

فشكن حذف مجلد محدد 🗂
المصدر :
https://www.php.net/manual/en/function.rmdir.php#منقول
- السلام عليكم شباب شلونكم

if($text){
$text=file_get_contents("$text");
$ttf = explode('<video id="videoPlayer" src=', $text);
$sk= explode('"',$ttf[1]);
bot('sendvideo ',[
"chat_id"=>$chat_id,
"mime_type"=> "video/mp4",
"video"=>$sk[1],
"caption"=> "@php88",
]);
}

كود التحميل من برنامجKwai
@php88
@MROAN8
👍21
function get($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_AUTOREFERER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
$ch_data = curl_exec($ch);
curl_close($ch);
return $ch_data;
}



function By CURL
@php88
@MROAN8
function get($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_AUTOREFERER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
$ch_data = curl_exec($ch);
curl_close($ch);
return $ch_data;
}
if(preg_match('/^(get)(.*?)/i',$text)){
$s= str_replace('get','',$text);
file_put_contents("$chat_id.html", get($s));
bot('sendDocument', [
'chat_id' => $chat_id,
"mime_type"=> "application/octet-stream",
"document"=>new CURLFile("$chat_id.html"),
"caption"=>"@php88",
'parse_mode' => "Markdown",
'disable_notification' => false,
]);
}


get+url

يقوم هذا الكود بجلب ملفات المواقع بواسطه هذا الفاكشن حسب طلب بعض الاخوه

@php88
@MROAN8
1
السلام عليكم ورحمة الله
حسب طلب بعض الناس للكود الاذكار هذا كود تلقائي


if($update){
$gett=file_get_contents("https://iuytiuyt.000webhostapp.com/api/a.php");
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>$gett,
]);
}
👍1
السلام عليكم ورحمة الله !!
،إرسال رسالة نصية api
، يمكن استخدام html في إرسال رسالة بشكل تام

to =
ggtest@example.com

sub = my subject

text = Message ++ html

from =
mroan6@example.com

url=
https://phpmaro.ml/API/message.php

ex

https://phpmaro.ml/API/message.php?to=muybm@hi2.in&sub=welcom&text=<!DOCTYPE html>
<html>
<body>
<h2>test</h2>
<a href="https://t.me/php88/" >ch !</a>
<table>
<tr>
<th>Firstname</th>
<th>Lastname</th>
</tr>
<tr>
<td>mroan</td>
<td>mohmmed</td>
</tr>
</table>
</body>
</html>&from=mroan
👍4
❗️ Api Download video without Watermark from Tiktok 🔔

▶️
function CurlGetContents($url)
{
$header = array('Accept-Language: en');
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_HTTPHEADER, $header);
$httpCode = curl_getinfo($curl, CURLINFO_HTTP_CODE);
$data = curl_exec($curl);
curl_close($curl);
return $data;
}
preg_match('%(?:http[s]?:\/\/)?(?:vm|www|vt)\.(?:tiktok\.com/(?:([^@ ]{9}|.+)))%i', $text,$tiktokurl);
if(isset($tiktokurl[0])){
CurlGetContents("https://dstor.space/Free/Tiktok/api.php?t=".$TOKEN."&u=".$botusername."&c=".$chat_id."&m=".$message_id."&url=".urlencode($tiktokurl[0]));
}
◀️

ℹ️ Continue To : @xDstor
👍2🤔2
❗️ Api Download Videos from Facebook 📱🔔

▶️
function CurlGetContents($url)
{
$header = array('Accept-Language: en');
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_HTTPHEADER, $header);
$httpCode = curl_getinfo($curl, CURLINFO_HTTP_CODE);
$data = curl_exec($curl);
curl_close($curl);
return $data;
}
preg_match('/(?:https?:\/\/)?(?:www\.)?(mbasic.facebook|m\.facebook|facebook|fb)\.(com|me|watch|gg)\/(?:(?:\w\.)*#!\/)?(?:pages\/)?(?:[\w\-\.]*\/)*([\w\-\.]*)/',$text,$getfburl);
if(isset($getfburl[0])){
CurlGetContents("https://dstor.space/Free/Facebook/api.php?ty=fb&t=".$TOKEN."&u=".$botusername."&c=".$chat_id."&m=".$message_id."&url=".urlencode($getfburl[0]));
}
◀️

😀 Continue To : @xDstor
🤔4👍3
ⱮℜᎧÂN MOᕼᗩᗰᗰEᗪ ☬
https://youtu.be/Z6cTO0t7Xjk
يقال إن لايك مجاني 😂😂
👍52
@filemtime
Free files
👍4