title: check if file exists in php
body: <pre><code>if (!(file_exists(http://mysite.com/images/thumbnail_1286954822.jpg))) {   
  $filefound = '0';                         
  }
  </code></pre>
  
  <p>why won't this work?</p>