title: How to set time limit for file_get_contents()?
body: <p>I use SIMPLE HTML DOM for parsing. Some pages take a very long time when i try to get contents.
  I need to set limit (for example 10 sec) -> go to the next page.
  Please without socket!</p>