Suppose you have a thumbnail generator script that accepts source images in the form of a URL. Is there a way to detect if the source URL is \"broken\" - whether nonexistent
did you try file_get_contents() method?
http://php.net/manual/en/function.file-get-contents.php