title: How do I make a simple crawler in PHP?
body: <p>I have a web page with a bunch of links. I want to write a script which would dump all the data contained in those links in a local file.</p>
  
  <p>Has anybody done that with PHP? General guidelines and gotchas would suffice as an answer.</p>