I need to validate the existance of images on HTML pages in a regular basis for some automation jobs.
I would like to write a php script to perform this task. What's the easiest way to extract the url(s) from the IMG tag and validate the images?
Since there's going to be tons of image files for me to check, I'm thinking about validating only header portion of the images without having to transfer the entire files using the read_exif_data() function. Is it possible to do that? Can anyone show me an example?
Any comments would be appreciated.
Jay