checking for off site image

From: Date: Wed, 06 Feb 2002 21:03:54 +0000
Subject: checking for off site image
Groups: php.general 
Request: Send a blank email to php-general+get-83757@lists.php.net to get a copy of this message
I'd like a test to see if an image not saved locally exists or not, but I'm beginning to wonder if there's a way. I've tried: getimagesize ('http://offsite.image.gif', $info); if ($info[3] != "") $title= 'print out image html'; else $title= 'give some text'; My URL fopen wrapper is enabled... getimagesize doesent work for off site? My error? or do one of you have a crafty solution? Thanks for your help! Sean ------------------------------- I N T E R C O N N E C T Internet Image Development Tel: 505 989 3749 http://www.InterConnect.is.it -------------------------------

« previous php.general (#83757) next »