PHP save image file
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/724391/saving-image-from-php-url-using-php">Saving image from PHP URL using PHP</a>  </p>
</blockquote>



<p>Hi 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">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. Can anyone point me in the right way to do this please? would I use File Write?</p>
