website scrapping

I’m planning to write a program that scrapes information from various websites to create a central database. What’s the difference between file_get_html(‘http://www.example.com’) and $doc = new DOMDocument();
@$doc->loadHTMLFile(‘http://www.example.com’)

any tips or links to tutorials would be much appreciated

Sponsor our Newsletter | Privacy Policy | Terms of Service