title: check if a URI exists?
body: <p>How do I check if a URI exists with PHP?</p>
  
  <p>I guess it will return an error code and I can check it before I use <code>file_get_contents</code>, because if I use <code>file_get_contents</code> on a link that doesn't exist, it gives me an error.</p>