title: How to check Url Image is exist or not in php
body: <p>I am working around fetch image URL from database &amp; show image in php like following</p>
  
  <pre><code>&lt;?php    
  
  $row['blog_url'] = "http://www.nasa.gov/images/content/711375main_grail20121205_4x3_946-710.jpg";
  
  &lt;img src="&lt;?php echo $row['blog_url']; ?&gt;"  height="200" width="200" alt="image"/&gt;
  
  ?&gt;
  </code></pre>
  
  <p>but i want display no_imgae.jpeg if image not getting loaded from specified url as blog_url</p>
  
  <p>if there any way to  find out image is exist or not in php</p>
  
  <p>thanks in advance...</p>