I am trying to test if the remote images exist before I process my codes..
I have found this post
How can one check to see if a remote file exists using PHP?
I have tried getimagesize
function and file_get_contents
function but I got
Warning: getimagesize() [function.getimagesize]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /project/testImages.php on line 147
I can't modify the server configuration in my case.
I am not sure how to solve the errors or if there are another ways to workaround.
Thanks for any help.