1

Using a DOM module. get html content from url and convert these html to XML format

<?php

$dom= new DOMDocument();


$html = $dom->loadHTMLFile('http://example.com/');
echo $html;

?>

0 Answers0