
13.09.2009, 22:04
|
|
Постоянный
Регистрация: 16.04.2008
Сообщений: 889
Провел на форуме: 12942062
Репутация:
1550
|
|
2мохзе:
PHP код:
<?php
$t=file_get_contents("http://www.google.com/search?hl=en&q=antichat");
preg_match_all('|<h3 class=r><a href="(.*?)" class=l>(.*?)</a>|', $t, $out);
for ($i=0; $i<count($out[1]); $i++)
echo $out[1][$i]." - ".$out[2][$i]."<br>";
?>
|
|
|