title: PHP save image file
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/724391/saving-image-from-php-url-using-php">Saving image from PHP URL</a>  </p>
  </blockquote>
  
  
  
  <p>I have an image as a url link from the 3rd party web thumb site (IE <a href="http://images.websnapr.com/?size=size&amp;key=Y64Q44QLt12u&amp;url=http://google.com" rel="nofollow noreferrer">http://images.websnapr.com/?size=size&amp;key=Y64Q44QLt12u&amp;url=http://google.com</a>) What I would like to do is run a script that takes the image and saves it in a directory on my server using php. How to do this? would I use File Write?</p>