Check if external image exists

/ Published in: PHP
Save to your folder(s)

Copy this code and paste it in your HTML
  1. if (@GetImageSize($webcamimage))
  2. {
  3. echo "file exists";
  4. } else {
  5. echo "file does not exist";
  6. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.