
18.01.2010, 17:26
|
|
Познавший АНТИЧАТ
Регистрация: 23.08.2007
Сообщений: 1,237
С нами:
9851426
Репутация:
1676
|
|
PHP код:
<?php
$link = 'http://l2top.ru/info/10166/';
$content = file_get_contents($link);
preg_match_all("/<td>(\d+:\d+:\d+ \d+\.\d+\.\d+)<\/td>.{1,50}<td>.+?<td>(.+?)<\/td>/is", $content, $matches);
for($i=0,$j=sizeof($matches[1]);$i<$j;$i++) print $matches[1][$i].':'.$matches[2][$i].'<br>';
?>
|
|
|