code_one
#41
Oqarib qolyapti xatosi qattan
  1. <?php
  2. define('_IN_JOHNCMS', 1);
  3. $textl = 'maqola.ru';
  4. require_once ("../incfiles/core.php");
  5. require_once ("../incfiles/head.php");
  6. $file=file_get_contents('http://xikoya.ru/library/index.php?'.$_SERVER['QUERY_STRING']);
  7. $file = preg_replace('|<!DOCTYPE(.*)<div class="phdr"><strong>Kutubxona</strong>|sU','<div class="title">',$file);
  8. $file = preg_replace("|<div class='menu'>(.*)</body></html>|sU","",$file);
  9. $file = preg_replace("|<div class='bmenu'>(.*)</a></div>|sU","",$file);
  10. $file = preg_replace('|Joyladi(.*)Izohlar|sU','Manba Quvnoq.com',$file);
  11. $file=str_replace('Quvnoq.Com uchun!','', $file);
  12. $file=str_replace('title','phdr', $file);
  13. $file=str_replace('list2','menu', $file);
  14. $file=str_replace('list1','menu', $file);
  15. $file=str_replace('index','kutubxona', $file);
  16. $file=str_replace('Quvnoq.com','Uzmm.Ru', $file);
  17. $file=str_replace('<div class="list2"><a href="kutubxona.php?id=13761"></a> (21)</div>','', $file);
  18. $file=str_replace('<div class="list2"><a href="kutubxona.php?id=2766">Intervyular</a> (1)</div>','', $file);
  19. echo $file;
  20. require_once ("../incfiles/end.php");
  21. ?>
shahzodbekpro
#42
ʬʬΞ NOKIA Ξʬʬ, # ʬʬΞ NOKIA Ξʬʬ (19.05.2020 / 18:35)
Oqarib qolyapti xatosi qattan
<?php
define('_IN_JOHNCMS', 1);
$textl = 'maqola.ru';
require_once ("../incfiles/core.php");
require_once ("../incfiles/head.php");
$file=file_get_contents('http:
Quvnoq.Com saytini o'zinikini tayyorlab berimi ?
code_one
#43
shahzodbekpro, U bor xikoyalar.r* ni news ni tayorlash kerak pul yuq shunga harakat qilyapman tayyorlayolmayapman :-)
7619
program
#44
ʬʬΞ NOKIA Ξʬʬ, Men tayorlab kordim reklamasi chiqib qolyabdi
code_one
#45
program, Iloji busa Taylang shu yerga
MasterOS2
#46
Хайл,шу парсер ясаганда, бир кориниб бир коринмай колиши нимадан?
33
Tayota
#47
MasterOS2, # MasterOS2 (20.05.2020 / 16:52)
Хайл,шу парсер ясаганда, бир кориниб бир коринмай колиши нимадан?
Sergey nìmasi körinmay qovoti? Miyani minimal ishlatsez ham bilas kodni xato tergansiz:-D
khan
#48
oldi qochti gap qilmasdan kimdur bitta yaxsi post qoldirib parserlashni o'rgatsa yaxshi bo'lar edi. biladigan ko'p forumda
Kamron
#49
file_get_contents preg_match bunga tushundim. str_replace bu nima vazifani bajaradi?
Qobilov_Sardor
#50
Kamron, # Kamron (25.05.2020 / 02:50)
file_get_contents preg_match bunga tushundim. str_replace bu nima vazifani bajaradi?
Sahifa ichidan yozuvlar va boshqa narsalarni almashtirish.

Masalan:
  1. <div class="menu">
  2. //shuni <div class="phdr"> bilan almashtirmoqchi bo'lsangiz
  3. $fayl = str_replace('<div class="menu">','<div class="phdr">', $fayl);
  4. // shu kabi yoziladi
code_one
#51
siz uchun tekin grabber vaulta kursi kodi
  1. <?php
  2. /*
  3. http://uztop.ga
  4. uchun mahsus
  5. */
  6. $file=file_get_contents('http://uztop.ga/pages/Pul.php?'.$_SERVER['QUERY_STRING']);
  7. // tegmang
  8. echo $file';
  9. ?>
Genius
#52
Wordpressgayam grabber moslasa bo'ladimi

Kunduzi: 21°C

27 Apr 2024 yil
Joylashuv aniqlanmadi