Fast Remote PHP Technique To Detect Image 404
- by Volomike
What PHP script technique runs the fastest in detecting if a remote image does not exist before I include the image? I mean, I don't want to download all the bytes of the remote image -- just enough to detect if it exists.
And while on the subject but with just a slight deviation, I'd like to download just enough bytes to determine a JPEG's width and height information.
Speed is very important in my concern here on this system design I'm working on.