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
------------------------------- 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to