Posted By

whak on 12/04/10


Tagged

php image external exists


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

vehler


Check if external image exists


 / Published in: PHP
 

  1. if (@GetImageSize("http://myurl.com/image.jpg"))
  2. {
  3. echo "file exists";
  4. } else {
  5. echo "file does not exist";
  6. }

Report this snippet  

You need to login to post a comment.