
01.07.2009, 20:01
|
|
Динозавр
Регистрация: 10.01.2008
Сообщений: 2,841
С нами:
9649706
Репутация:
3338
|
|
Код:
<pre>
<?php
$file = file_get_contents('http://gismeteo.ru/city/catalog/cities/?country=RU&id=156');
preg_match_all('|<li><a href=.*>(.*)</a></li>|Ui',$file,$found1);
print_r($found1[1]);
?>
</pre>
|
|
|