Yangi formatda davom etish uchun: https://uzfor.net/view.php?id=83474&page=11
PHPda masalalar yechish
Mavzu fayllari (28)
Xabarlar
Kamron, # Kamron (12.07.2020 / 08:16)
fast, Agar yaxshi bolsa men ham olaman. Tgda: @Kamron_Media ga yozingDemo variyantini ko‘rib chiqing...
@tutorialsuz
fast, Agar yaxshi bolsa men ham olaman. Tgda: @Kamron_Media ga yozingDemo variyantini ko‘rib chiqing...
@tutorialsuz
fast, Bu kitob pdf ekan menimcha patent ham olinmagan lekin buni yaratgan ancha mehnat qilgan hech bolmasa mehnatini hurmat qilish kere
Salom. Uzmovi saytdagi faylni yuklab olish uchun funksiya yaratish kerak (curl orqali).
Hullas u sayt faylni yuklab olish uchun qandaydur cheklov qóygan ekan. Qanaqa cheklov xatto tushunmadim ham. Linkni yozib kirsa saytga kirib ketadi aslida faylni yuklab olish kerak ammo yuklamay saytga ótib ketadi import qilsa link xato deydi. Ammo saytni ózida turib linkka bossa faylni yuklash boshlanyapti. Karochi shu masalada yordam kerak proxy bilan hostingga yuklab olsa bolarkan ammo menda hostingda joy boyicha muammo bor aniqrogi keyinchalik muammo bólishi mumkin. Shuning uchun linkdagi faylni meni hostinimga yuklab olib keyin foydalanuvchiga taqdim etish meni masalamda optimall variant emas.
Savol proxy bilan yoki boshqa yól orqali. ósha saytdagi faylni togridan togri hostinga yuklami telefonga yuklash boshlanadigan qilsa boladimi ?
Yanada aniqro etganda saytim.uz/index.php?link=linkim qib kirsam ósha fayl hostinga import qilmasdan togridan togri telefonga yuklab ketadigan qilishni iloji bormi?
Hullas u sayt faylni yuklab olish uchun qandaydur cheklov qóygan ekan. Qanaqa cheklov xatto tushunmadim ham. Linkni yozib kirsa saytga kirib ketadi aslida faylni yuklab olish kerak ammo yuklamay saytga ótib ketadi import qilsa link xato deydi. Ammo saytni ózida turib linkka bossa faylni yuklash boshlanyapti. Karochi shu masalada yordam kerak proxy bilan hostingga yuklab olsa bolarkan ammo menda hostingda joy boyicha muammo bor aniqrogi keyinchalik muammo bólishi mumkin. Shuning uchun linkdagi faylni meni hostinimga yuklab olib keyin foydalanuvchiga taqdim etish meni masalamda optimall variant emas.
Savol proxy bilan yoki boshqa yól orqali. ósha saytdagi faylni togridan togri hostinga yuklami telefonga yuklash boshlanadigan qilsa boladimi ?
Yanada aniqro etganda saytim.uz/index.php?link=linkim qib kirsam ósha fayl hostinga import qilmasdan togridan togri telefonga yuklab ketadigan qilishni iloji bormi?
Tayota, # Tayota (13.05.2022 / 03:32)
Salom. Uzmovi saytdagi faylni yuklab olish uchun funksiya yaratish kerak (curl orqali).
Hullas u sayt faylni yuklab olish uchun qandaydur cheklov qóygan ekan. Qanaqa cheklov xatto tushunmadim ham. LiHech qanaqa proxy sharmas https://www.codegrepper.com/search.php?q=php%20download%20rate%20limit
Codegrepperga 4 oy oldin yozganman javobini
2 daqiqa 1 soniyadan keyin yozdi:
Men sal hato tushunibman keynroq javobini yozaman
Salom. Uzmovi saytdagi faylni yuklab olish uchun funksiya yaratish kerak (curl orqali).
Hullas u sayt faylni yuklab olish uchun qandaydur cheklov qóygan ekan. Qanaqa cheklov xatto tushunmadim ham. LiHech qanaqa proxy sharmas https://www.codegrepper.com/search.php?q=php%20download%20rate%20limit
Codegrepperga 4 oy oldin yozganman javobini
2 daqiqa 1 soniyadan keyin yozdi:
Men sal hato tushunibman keynroq javobini yozaman
Akbarali, # Akbarali (27.05.2022 / 21:37)
Tayota, Hech qanaqa proxy sharmas https://www.codegrepper.com/search.php?q=php%20download%20rate%20limit
Codegrepperga 4 oy oldin yozganman javobini
2 daqiqa 1 soniyadan keyin yozdi:
Men sal Hostingga faylni yuklash meni variantimda togri kelmaydi. Saytdagi video hajmi ortacha 700 800mb agar eng kamida 50 60ta odam 1 vaqtda foydalanishini hisobga olsak chontak kotarmaydigan tarifdan foydalanishga togri keladi.
Togri cron ulab malum vaqtda hostingni tozalab tursa boladiyu nu optimal variant men uchun ósha saytdagi link orqali yuklab olish. Hostingimni toldirmaslik deb óylayman.
Tayota, Hech qanaqa proxy sharmas https://www.codegrepper.com/search.php?q=php%20download%20rate%20limit
Codegrepperga 4 oy oldin yozganman javobini
2 daqiqa 1 soniyadan keyin yozdi:
Men sal Hostingga faylni yuklash meni variantimda togri kelmaydi. Saytdagi video hajmi ortacha 700 800mb agar eng kamida 50 60ta odam 1 vaqtda foydalanishini hisobga olsak chontak kotarmaydigan tarifdan foydalanishga togri keladi.
Togri cron ulab malum vaqtda hostingni tozalab tursa boladiyu nu optimal variant men uchun ósha saytdagi link orqali yuklab olish. Hostingimni toldirmaslik deb óylayman.
Tayota, # Tayota (28.05.2022 / 22:07)
Akbarali, Hostingga faylni yuklash meni variantimda togri kelmaydi. Saytdagi video hajmi ortacha 700 800mb agar eng kamida 50 60ta odam 1 vaqtda foydalanishini hisobga olsak chontak kotarmaydigan tarQarab chiqdim yoshbolani o'ynchog`i hullas saytga kirganizda download linkda hechlangan fayl idsi bo`ladi
shuni keyn http://uzmovi.com/ajax/getdownload manziliga post so`rovda jo`natadi method urlda shu hechlangan urllarni keyn
qaytaradi shundagi n qiymatni o`sha urllarga saqlab qo`yadi. shundan so'ng user kerakli header parametlar bilan
Host:
Origin:
Pragma:
Referer:
bilan o`sha faylda kirsa shularni tekshirib faylni yuklab olishga yo`l beradi bo`lmasa bosh sahifaga o`tkazib yuboradi
https://akbarali11.w3spaces.com/saved-from-Tryit-2022-05-30.html postmanda sinadim hammais ishladi shunga kirib join qilib ko`ring
yoki postmanning kofugratsiyasiya json fayli https://www.getpostman.com/collections/efad6ca3879c490b4956
Akbarali, Hostingga faylni yuklash meni variantimda togri kelmaydi. Saytdagi video hajmi ortacha 700 800mb agar eng kamida 50 60ta odam 1 vaqtda foydalanishini hisobga olsak chontak kotarmaydigan tarQarab chiqdim yoshbolani o'ynchog`i hullas saytga kirganizda download linkda hechlangan fayl idsi bo`ladi
<div class="tab-pane fade block-p" id="online12"> <div class="video-responsive"> <a class="btn1" href="http://uzmovi.com/download/e4y5z5x543r244b4v213q264t204x2t203s233s2t2o4u21686u5n4u4i4p2a4k4h482v5i5m4e2y574o4w5u5z594c4q5q3e4h454w5d4f5m4c2d494u2f4l403"> </a> <a class="btn1" href="http://uzmovi.com/download/e4y5z5x543r244b4v213q264t204x2t203s203y2t2o4u21686u5n4u4i4p2a4k4h482v5i5m4e2y574o4w5u5z594c4q5q3e4h454w5d4f5m4c2i4k4a4b4h4d4f2o5m534l4o413"> </a> <a class="btn1" href="https://t.me/+lkQF8rcKziI0Zjhi"> </a> </div> </div>
shuni keyn http://uzmovi.com/ajax/getdownload manziliga post so`rovda jo`natadi method urlda shu hechlangan urllarni keyn
[ { "cur": "http://uzmovi.com/download/e4y5z5x543r244b4v213q264t204x2t203s233s2t2o4u21686u5n4u4i4p2a4k4h482v5i5m4e2y574o4w5u5z594c4q5q3e4h454w5d4f5m4c2d494u2f4l403", "n": "http://s117.uzdown.space/download/720p/uzmovi.com men terrorchi emasman hd.mp4" }, { "cur": "http://uzmovi.com/download/e4y5z5x543r244b4v213q264t204x2t203s203y2t2o4u21686u5n4u4i4p2a4k4h482v5i5m4e2y574o4w5u5z594c4q5q3e4h454w5d4f5m4c2i4k4a4b4h4d4f2o5m534l4o413", "n": "http://s117.uzdown.space/download/480p/uzmovi.com men terrorchi emasman mobile hd.mp4" } ]
qaytaradi shundagi n qiymatni o`sha urllarga saqlab qo`yadi. shundan so'ng user kerakli header parametlar bilan
Host:
Origin:
Pragma:
Referer:
bilan o`sha faylda kirsa shularni tekshirib faylni yuklab olishga yo`l beradi bo`lmasa bosh sahifaga o`tkazib yuboradi
https://akbarali11.w3spaces.com/saved-from-Tryit-2022-05-30.html postmanda sinadim hammais ishladi shunga kirib join qilib ko`ring
yoki postmanning kofugratsiyasiya json fayli https://www.getpostman.com/collections/efad6ca3879c490b4956
Akbarali, Fuksiyani yozib beraolasizmi men uncha tushunmadim.
Postman haqida endi eshityapman))
Postman haqida endi eshityapman))
Biriktirilgan fayllar [1]:
— screenshot_20220601-000433.jpg (0 KB) (14 ↴)
— screenshot_20220601-000433.jpg (0 KB) (14 ↴)
Akbarali, # Akbarali (16.05.2020 / 09:55)
Мен хам савол ташласам.
Хуллас inputga рақам ёзилади мисол учун 50 рақами. Шу эллик рақами yozilsa ellikgacha bo`lgan raqamni toq sonlarni alohida juft sonlarni alohida chop etish kerak.
Misol u
$n=$_POST['n'];
$j=0;
$t=0;
for ($i=1; $i<=$n; $i++){
If ($i%2==0){ $juft[$j]=$i; $j++ }
else { $toq[$t]=$i; $t++; }
}
Shunda sonlar $juft $toq massivlariga ajratiladi
% - qoldiqni hisoblaydi. Qoldiq nol bo'lsa juft
Мен хам савол ташласам.
Хуллас inputga рақам ёзилади мисол учун 50 рақами. Шу эллик рақами yozilsa ellikgacha bo`lgan raqamni toq sonlarni alohida juft sonlarni alohida chop etish kerak.
Misol u
$n=$_POST['n'];
$j=0;
$t=0;
for ($i=1; $i<=$n; $i++){
If ($i%2==0){ $juft[$j]=$i; $j++ }
else { $toq[$t]=$i; $t++; }
}
Shunda sonlar $juft $toq massivlariga ajratiladi
% - qoldiqni hisoblaydi. Qoldiq nol bo'lsa juft
Tayota, https://www.postman.com/ APIlarni testlash uchun dastur va siz testlagan API uchun tayyor kodlar ham genetatsiya qilib beradi
PHP
var form = new FormData(); var settings = { "url": "http://s117.uzdown.space/download/480p/uzmovi.com%20men%20terrorchi%20emasman%20mobile%20hd.mp4", "method": "GET", "timeout": 0, "headers": { "Accept": " text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", "Accept-Encoding": " gzip, deflate", "Accept-Language": " en-US,en;q=0.9,uz;q=0.8", "Connection": " keep-alive", "DNT": " 1", "Host": " s117.uzdown.space", "Referer": " http://uzmovi.com/, "Upgrade-Insecure-Requests": " 1", "User-Agent": " Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36" }, "processData": false, "mimeType": "multipart/form-data", "contentType": false, "data": form }; $.ajax(settings).done(function (response) { console.log(response); });
PHP
<?php CURLOPT_URL => 'http://s117.uzdown.space/download/480p/uzmovi.com%2520men%2520terrorchi%2520emasman%2520mobile%2520hd.mp4', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'GET', 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9', 'Accept-Encoding: gzip, deflate', 'Accept-Language: en-US,en;q=0.9,uz;q=0.8', 'Connection: keep-alive', 'DNT: 1', 'Host: s117.uzdown.space', 'Referer: http://uzmovi.com/', 'Upgrade-Insecure-Requests: 1', 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36' ), )); echo $response;
+ (1): Tayota,
DOnload link
<?php CURLOPT_URL => 'http://uzmovi.com/ajax/getdownload?urls=http://uzmovi.com/download/e4y5z5x543r244b4v213q254o20443s2s203y2q2l4v2s466v5w5u4h4v264m4i4c294w5x5h4e4t5a2s4f5w516f4c2p5m5v2h4k454,http://uzmovi.com/download/e4y5z5x543r244b4v213q254o20443s2s2x243q2l4v2s466v5w5u4h4v264m4i4c294w5x5h4e4t5a2s4f5w516f4c2u5x5b4c2c4h5m2r5o4w2', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS => array('urls' => 'http://uzmovi.com/download/e4y5z5x543r244b4v213q264t204x2t203s233s2t2o4u21686u5n4u4i4p2a4k4h482v5i5m4e2y574o4w5u5z594c4q5q3e4h454w5d4f5m4c2d494u2f4l403,http://uzmovi.com/download/e4y5z5x543r244b4v213q264t204x2t203s203y2t2o4u21686u5n4u4i4p2a4k4h482v5i5m4e2y574o4w5u5z594c4q5q3e4h454w5d4f5m4c2i4k4a4b4h4d4f2o5m534l4o413'), 'Accept: */*', 'Accept-Encoding: gzip, deflate', 'Accept-Language: en-US,en;q=0.9,uz;q=0.8', 'Cache-Control: no-cache', 'Connection: keep-alive', 'Content-Length: 298', 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8', 'Cookie: _ga=GA1.2.1872725581.1652562616; _ym_d=1652562616; _ym_uid=165256261613366604; _gid=GA1.2.804978892.1653906299; _ym_isad=1; ci_session=617g26o0t5ovi0fqp0h4e5rqboje89tp; _gat_gtag_UA_131360973_2=1', 'DNT: 1', 'Host: uzmovi.com', 'Origin: http://uzmovi.com', 'Pragma: no-cache', 'Referer: http://uzmovi.com/tarjima-kinolar/4359-intiho-vaqti-premyera.html', 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36', 'X-Requested-With: XMLHttpRequest' ), )); echo $response;
var form = new FormData(); form.append("urls", "http://uzmovi.com/download/e4y5z5x543r244b4v213q264t204x2t203s233s2t2o4u21686u5n4u4i4p2a4k4h482v5i5m4e2y574o4w5u5z594c4q5q3e4h454w5d4f5m4c2d494u2f4l403,http://uzmovi.com/download/e4y5z5x543r244b4v213q264t204x2t203s203y2t2o4u21686u5n4u4i4p2a4k4h482v5i5m4e2y574o4w5u5z594c4q5q3e4h454w5d4f5m4c2i4k4a4b4h4d4f2o5m534l4o413"); var settings = { "url": "http://uzmovi.com/ajax/getdownload?urls=http://uzmovi.com/download/e4y5z5x543r244b4v213q254o20443s2s203y2q2l4v2s466v5w5u4h4v264m4i4c294w5x5h4e4t5a2s4f5w516f4c2p5m5v2h4k454,http://uzmovi.com/download/e4y5z5x543r244b4v213q254o20443s2s2x243q2l4v2s466v5w5u4h4v264m4i4c294w5x5h4e4t5a2s4f5w516f4c2u5x5b4c2c4h5m2r5o4w2", "method": "POST", "timeout": 0, "headers": { "Accept": " */*", "Accept-Encoding": " gzip, deflate", "Accept-Language": " en-US,en;q=0.9,uz;q=0.8", "Cache-Control": " no-cache", "Connection": " keep-alive", "Content-Length": " 298", "Content-Type": " application/x-www-form-urlencoded; charset=UTF-8", "Cookie": " _ga=GA1.2.1872725581.1652562616; _ym_d=1652562616; _ym_uid=165256261613366604; _gid=GA1.2.804978892.1653906299; _ym_isad=1; ci_session=617g26o0t5ovi0fqp0h4e5rqboje89tp; _gat_gtag_UA_131360973_2=1", "DNT": " 1", "Host": " uzmovi.com", "Origin": " http://uzmovi.com, "Pragma": " no-cache", "Referer": " http://uzmovi.com/tarjima-kinolar/4359-intiho-vaqti-premyera.html, "User-Agent": " Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36", "X-Requested-With": " XMLHttpRequest" }, "processData": false, "mimeType": "multipart/form-data", "contentType": false, "data": form }; $.ajax(settings).done(function (response) { console.log(response); });
+ (1): Tayota,
Kodlar o`tnating va o`rganing maslahat beraman
Biriktirilgan fayllar [2]:
— image_2022-06-02_15-17-53.png (0 KB) (14 ↴)
— image_2022-06-02_15-18-01.png (0 KB) (10 ↴)
— image_2022-06-02_15-17-53.png (0 KB) (14 ↴)
— image_2022-06-02_15-18-01.png (0 KB) (10 ↴)
End, # End (02.06.2022 / 11:18)
Akbarali,
$n=$_POST['n'];
$j=0;
$t=0;
for ($i=1; $i<=$n; $i++){
If ($i%2==0){ $juft[$j]=$i; $j++ }
else { $toq[$t]=$i; $t++; }
}
Shunda sonlar $juft $toq massivlariga ajratiladi
bu yaxshi variyant emas kodni qisqartirish kerak optimallashtirish kerak
Akbarali,
$n=$_POST['n'];
$j=0;
$t=0;
for ($i=1; $i<=$n; $i++){
If ($i%2==0){ $juft[$j]=$i; $j++ }
else { $toq[$t]=$i; $t++; }
}
Shunda sonlar $juft $toq massivlariga ajratiladi
bu yaxshi variyant emas kodni qisqartirish kerak optimallashtirish kerak
Akbarali, # Akbarali (02.06.2022 / 15:33)
End, bu yaxshi variyant emas kodni qisqartirish kerak optimallashtirish kerakUnda shu kodni siz optimallashtiring. Siz tushunasizku. Men bilmiyman optimallashtirishni
End, bu yaxshi variyant emas kodni qisqartirish kerak optimallashtirish kerakUnda shu kodni siz optimallashtiring. Siz tushunasizku. Men bilmiyman optimallashtirishni
Akbarali, # Akbarali (02.06.2022 / 15:19)
DOnload link
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'http://uzmovi.com/ajax/getdownload?urls=http://uzmovi.com/download/e4y5z5x543r244b4v213q254o20443s2sKod uchun rahmat. Ammo nodejsga tushunmaganim uchun ochigi kodni ishlataolmadim.
Nodejsdan boshqa variantdan foydalaniq kodni yozsa bolmaydimi?
DOnload link
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'http://uzmovi.com/ajax/getdownload?urls=http://uzmovi.com/download/e4y5z5x543r244b4v213q254o20443s2sKod uchun rahmat. Ammo nodejsga tushunmaganim uchun ochigi kodni ishlataolmadim.
Nodejsdan boshqa variantdan foydalaniq kodni yozsa bolmaydimi?
Akbarali, # Akbarali (03.06.2022 / 13:43)
Tayota, nodejs nimaga ?Asosan php mysql (pdo) jquery da ishlaganman. Nodejs boyicha qiziqib kormagan edim. Sababi androidga ótganim uchun javani ózi yetib turgan edi. Nodejsni organishga vaqt bolmayapti aniqroq etganda))
ózimcha nodejsni libni ulab index.phpga kodlarni qoyib kordim. Nu negadur ishlamadi yoki nimanidur xato qildim
1 daqiqa 32 soniyadan keyin yozdi:
Shuning uchun boshqa variant bilan qilsa bolamaydi degandim
11 soat 49 daqiqa 54 soniyadan keyin yozdi:
Nazarimda kod ishlamayapti...
Ózi sinab kordingizmi?
Tayota, nodejs nimaga ?Asosan php mysql (pdo) jquery da ishlaganman. Nodejs boyicha qiziqib kormagan edim. Sababi androidga ótganim uchun javani ózi yetib turgan edi. Nodejsni organishga vaqt bolmayapti aniqroq etganda))
ózimcha nodejsni libni ulab index.phpga kodlarni qoyib kordim. Nu negadur ishlamadi yoki nimanidur xato qildim
1 daqiqa 32 soniyadan keyin yozdi:
Shuning uchun boshqa variant bilan qilsa bolamaydi degandim
11 soat 49 daqiqa 54 soniyadan keyin yozdi:
Nazarimda kod ishlamayapti...
Ózi sinab kordingizmi?
Akbarali,
46 soniyadan keyin yozdi:
http://u6682.xvest2.ru/uzmovi.php
Hech nima bolmadi???
<?php echo 'xd'; ?> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script> var form = new FormData(); form.append("urls", "http://uzmovi.com/download/e4y5z5x543r244b4v213q264t204x2t203s233s2t2o4u21686u5n4u4i4p2a4k4h482v5i5m4e2y574o4w5u5z594c4q5q3e4h454w5d4f5m4c2d494u2f4l403,http://uzmovi.com/download/e4y5z5x543r244b4v213q264t204x2t203s203y2t2o4u21686u5n4u4i4p2a4k4h482v5i5m4e2y574o4w5u5z594c4q5q3e4h454w5d4f5m4c2i4k4a4b4h4d4f2o5m534l4o413"); var settings = { "url": "http://uzmovi.com/ajax/getdownload?urls=http://uzmovi.com/download/e4y5z5x543r244b4v213q254o20443s2s203y2q2l4v2s466v5w5u4h4v264m4i4c294w5x5h4e4t5a2s4f5w516f4c2p5m5v2h4k454,http://uzmovi.com/download/e4y5z5x543r244b4v213q254o20443s2s2x243q2l4v2s466v5w5u4h4v264m4i4c294w5x5h4e4t5a2s4f5w516f4c2u5x5b4c2c4h5m2r5o4w2", "method": "POST", "timeout": 0, "headers": { "Accept": " */*", "Accept-Encoding": " gzip, deflate", "Accept-Language": " en-US,en;q=0.9,uz;q=0.8", "Cache-Control": " no-cache", "Connection": " keep-alive", "Content-Length": " 298", "Content-Type": " application/x-www-form-urlencoded; charset=UTF-8", "Cookie": " _ga=GA1.2.1872725581.1652562616; _ym_d=1652562616; _ym_uid=165256261613366604; _gid=GA1.2.804978892.1653906299; _ym_isad=1; ci_session=617g26o0t5ovi0fqp0h4e5rqboje89tp; _gat_gtag_UA_131360973_2=1", "DNT": " 1", "Host": " uzmovi.com", "Origin": " http://uzmovi.com, "Pragma": " no-cache", "Referer": " http://uzmovi.com/tarjima-kinolar/4359-intiho-vaqti-premyera.html, "User-Agent": " Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36", "X-Requested-With": " XMLHttpRequest" }, "processData": false, "mimeType": "multipart/form-data", "contentType": false, "data": form }; $.ajax(settings).done(function (response) { console.log(response); }); </script> <? CURLOPT_URL => 'http://uzmovi.com/ajax/getdownload?urls=http://uzmovi.com/download/e4y5z5x543r244b4v213q254o20443s2s203y2q2l4v2s466v5w5u4h4v264m4i4c294w5x5h4e4t5a2s4f5w516f4c2p5m5v2h4k454,http://uzmovi.com/download/e4y5z5x543r244b4v213q254o20443s2s2x243q2l4v2s466v5w5u4h4v264m4i4c294w5x5h4e4t5a2s4f5w516f4c2u5x5b4c2c4h5m2r5o4w2', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS => array('urls' => 'http://uzmovi.com/download/e4y5z5x543r244b4v213q264t204x2t203s233s2t2o4u21686u5n4u4i4p2a4k4h482v5i5m4e2y574o4w5u5z594c4q5q3e4h454w5d4f5m4c2d494u2f4l403,http://uzmovi.com/download/e4y5z5x543r244b4v213q264t204x2t203s203y2t2o4u21686u5n4u4i4p2a4k4h482v5i5m4e2y574o4w5u5z594c4q5q3e4h454w5d4f5m4c2i4k4a4b4h4d4f2o5m534l4o413'), 'Accept: */*', 'Accept-Encoding: gzip, deflate', 'Accept-Language: en-US,en;q=0.9,uz;q=0.8', 'Cache-Control: no-cache', 'Connection: keep-alive', 'Content-Length: 298', 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8', 'Cookie: _ga=GA1.2.1872725581.1652562616; _ym_d=1652562616; _ym_uid=165256261613366604; _gid=GA1.2.804978892.1653906299; _ym_isad=1; ci_session=617g26o0t5ovi0fqp0h4e5rqboje89tp; _gat_gtag_UA_131360973_2=1', 'DNT: 1', 'Host: uzmovi.com', 'Origin: http://uzmovi.com', 'Pragma: no-cache', 'Referer: http://uzmovi.com/tarjima-kinolar/4359-intiho-vaqti-premyera.html', 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36', 'X-Requested-With: XMLHttpRequest' ), )); echo $response;
46 soniyadan keyin yozdi:
http://u6682.xvest2.ru/uzmovi.php
Hech nima bolmadi???
13-MASALA(+5 BALL):Bizga massif beriladi.Massif faqat sonlardan iborat.Sonlarni barchasi ikkitadan ishlatilgan.
Faqat bitta songina 1 marta ishlatilgan.Shunday funcsiya tuzishimiz kerakki qanday shunaqa massif berilganda
yagona ishlatilgan sonni topishi kerak.Massivdagi sonlar 0 dan 100 oraliqdagi sonlar.
Masalan: (1,1,2,3,4,2,4) bu massivda yagona son 3. Chunki massivda 3 bir mart
function findOnceNumber($numbers = [])
{
foreach (array_count_values($numbers) as $key => $number) {
if ($number == 1) {
return $key;
}
}
}
echo findOnceNumber([1, 1, 2, 2, 3, 4, 4, 5, 5, 6, 6, 8, 8, 9, 9]);a ishlatilgan.
Faqat bitta songina 1 marta ishlatilgan.Shunday funcsiya tuzishimiz kerakki qanday shunaqa massif berilganda
yagona ishlatilgan sonni topishi kerak.Massivdagi sonlar 0 dan 100 oraliqdagi sonlar.
Masalan: (1,1,2,3,4,2,4) bu massivda yagona son 3. Chunki massivda 3 bir mart
function findOnceNumber($numbers = [])
{
foreach (array_count_values($numbers) as $key => $number) {
if ($number == 1) {
return $key;
}
}
}
echo findOnceNumber([1, 1, 2, 2, 3, 4, 4, 5, 5, 6, 6, 8, 8, 9, 9]);a ishlatilgan.
Tavsiya etamiz:
- Hoziroq maydonlarni to'ldiring va reklamangizni joylashtiring!
Mavzuga oid xabarlar soni: 207 ta
So'ngi faollik vaqti: 21:54:12, 29 Sep 2022