hello!
im trying to read the width of an image that is hosts on a completely different website...
so far ive got...
$image = fopen("http://www.jbachellier.eurobell.co.uk/freak01.jpg", "r");
$size = getimagesize("$image");
$width = $size[0];
$height = $size[1];
if($width > 400) {
do stuff...
} else {
do other stuff...
}
but get an error at the get image size
Warning: getimagesize(Resource id #2): failed to open stream
anyone got any ideas?
stew