Просмотр поста #87017: Помогите написать парсер XHtml

.
Folour
Think different

Dmitriy12,

$dom = new DOMDocument();
$dom->loadHTML(file_get_contents('http://site.ru'));
print_r($dom->getElementByTagName('a'));