Currently if a user POST/uploads a photo to my PHP script I start out with some code like this
getimagesize($_FILES[\'picture1\'][\'tmp_name\']);
getimagesize can be used with HTTP.
Filename - It can reference a local file or (configuration permitting) a remote file using one of the supported streams.
Thus
$info = getimagesize($url); $image = ImageCreateFromString(file_get_contents($url));
should be fine.