==== ====
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br> <hr width=100% size=1 color=#808080></td>
==== ====
" "
.
31 , 5 (24.12.2009 - 20:20) qpayct ():
curl_
2 , 32 (24.12.2009 - 20:22) Guest ():
.... ... .
11 , 45 (24.12.2009 - 20:34) qpayct ():
- ,
.
:
.
:
function get_data ($url) {, .
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0;Windows NT 5.0)");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$buffer = curl_exec($ch);
curl_close($ch);
// ...
//$buffer = iconv("Windows-1255","utf-8",$buffer);
return $buffer;
}
14 , 38 (24.12.2009 - 20:49) Guest ():
.... - -...
:
$adr="http://vasya.ru/index.php";
$screen=file($adr); //
(echo $result;)
:
$adr="http://vasya.ru/index.php";
$screen=file($adr); //
(echo $result;)
2 , 46 (24.12.2009 - 20:52) qpayct ():
2 , 32 (24.12.2009 - 20:54) Guest ():
))) - ....
13 , 4 (24.12.2009 - 21:07) qpayct ():
(Guest @ 24.12.2009 - 19:54) |
))) - .... |
$adr="http://phpforum.ru/index.php?showtopic=24004&hl=";
$screen=file($adr);
foreach ($screen as $key => $val) {
echo $key."<br/><textarea cols=\"80\" rows=\"10\">".$val."</textarea><br/><br/>";
}
12 , 43 (24.12.2009 - 21:20) Guest ():
? ($key). ... :
==== ====
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br> <hr width=100% size=1 color=#808080></td>
==== ====
. ... ...
)))
==== ====
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br> <hr width=100% size=1 color=#808080></td>
==== ====
. ... ...
)))
4 , 43 (24.12.2009 - 21:25) qpayct ():
,
,
, . .
,
.
- $result
,
, . .
,
.
- $result
5 , 30 (24.12.2009 - 21:30) Guest ():
(qpayct @ 24.12.2009 - 18:25) |
, , . . , . - $result |
1.
2. $result? .
1 , 41 (24.12.2009 - 21:32) twin ():
.
2 , 22 (24.12.2009 - 21:34) Guest ():
... " " ... . . . ... , ... )))
14 (24.12.2009 - 21:34) qpayct ():
! ! ?!
>><<
>><<
7 , 9 (24.12.2009 - 21:42) Guest ():
22 , 42 (24.12.2009 - 22:04) VolCh ():
3 ( , , ):
1. - preg_match()
2. - strpos() substr()
3. XSLT
1. - preg_match()
2. - strpos() substr()
3. XSLT
2 , 34 (24.12.2009 - 22:07) Guest ():
(VolCh @ 24.12.2009 - 19:04) |
3 ( , , ): 1. - preg_match() 2. - strpos() substr() 3. XSLT |
, . ( ) ... .
12 (24.12.2009 - 22:07) twin ():
:
$content = iconv('windows-1251', 'utf-8', file_get_contents('http://poisk.goon.ru/show.htm?id=9000'));
preg_match("#js\">.+?<br>([^<]+?)<#uis", $content, $out);
print_r($out[1]);
4 , 18 (24.12.2009 - 22:11) qpayct ():
2- . .
2 :
1.
2.
:
.
2 :
1.
2.
:
<div class="user_name"> </div>
<div class="user_name"> </div>
.
$url="http://vasya.ru/index.php";
$mystring=get_data($url);
$findme1="user_name\">";
$findme2="</div>";
$pos1 = stripos($mystring, $findme1);
$pos2 = stripos($mystring, $findme2);
$result = substr($mystring,$pos1,$pos2-$pos1);
17 , 31 (24.12.2009 - 22:29) Guest ():
(twin @ 24.12.2009 - 19:07) |
: $content = iconv('windows-1251', 'utf-8', file_get_contents('http://poisk.goon.ru/show.htm?id=9000'));preg_match("#js\">.+?<br>([^<]+?)<#uis", $content, $out);print_r($out[1]); |
! ! . :
Ищу Олега,моего ученика по Джиу-Джитсу. Тренеровал его в 1993 г. в г. Киве зал на ул. Фучика. Он уехал в 1996 г. в США. После собітий 11 сентября 2001 г. номера телефонов в США поменялись и я не могу с ним связаться
... . ?
7 , 4 (24.12.2009 - 22:36) twin ():
. .
$content = file_get_contents('http://poisk.goon.ru/show.htm?id=9000');
preg_match("#js\">.+?<br>([^<]+?)<#is", $content, $out);
print_r($out[1]);
5 , 26 (24.12.2009 - 22:41) Guest ():
twin
! ! !
PS. . .
! ! !
PS. . .
1 , 4 , 21 , 19 , 29 , 41 (16.05.2011 - 17:11) Guest ():
, . . ..
N- , <HR> <HR> , <HR>
URL, .
<h1></h1>
<HR>
<B></B>
<IMG SRC=".png" WIDTH=497 HEIGHT=154 ALT="Daily Graph" VSPACE=10 ALIGN=TOP><BR>
<TABLE CELLPADDING=0 CELLSPACING=0> <TR>
<TD ALIGN=RIGHT><SMALL>Max <FONT COLOR="#00cc00">In:</FONT></SMALL></TD>
<TD ALIGN=RIGHT><SMALL>
</SMALL></TD>
<TD WIDTH=5></TD>
<TD ALIGN=RIGHT><SMALL>Average <FONT COLOR="#00cc00">In:</FONT></SMALL></TD>
<TD ALIGN=RIGHT><SMALL></SMALL></TD>
<TD WIDTH=5></TD>
<TD ALIGN=RIGHT><SMALL>Current <FONT COLOR="#00cc00">In:</FONT></SMALL></TD>
<TD ALIGN=RIGHT><SMALL></SMALL></TD>
</TR>
<TR>
<TD ALIGN=RIGHT><SMALL>Max <FONT COLOR="#0000ff">Out:</FONT></SMALL></TD>
<TD ALIGN=RIGHT><SMALL> </SMALL></TD>
<TD WIDTH=5></TD>
<TD ALIGN=RIGHT><SMALL>Average <FONT COLOR="#0000ff">Out:</FONT></SMALL></TD>
<TD ALIGN=RIGHT><SMALL></SMALL></TD>
<TD WIDTH=5></TD>
<TD ALIGN=RIGHT><SMALL>Current <FONT COLOR="#0000ff">Out:</FONT></SMALL></TD>
<TD ALIGN=RIGHT><SMALL></SMALL></TD>
</TR>
</TABLE>
<HR>
<B></B>
N- , <HR> <HR> , <HR>
URL, .
10 , 3 , 18 , 33 , 44 (20.03.2012 - 11:45) Guest ():
. - - - - .