I have this host that disables allow_url_fopen as they said it is a security risk which in turns prevents my use of getimagesize function because I am passing in a http.
My site is on WordPress and I am using getimagesize to pull in a image within the uploads folder of a WordPress site which obviously contains http://.
So my question is if this is not safe? If it is not safe, how can this be done within a WordPress environment?
Thanks.
Ok the solution is to use CURL. So something like this would work.