Testing file existence across domains

2004-07-16 Thread Rick Dawson
I need to test for the existence of images that are on another web server
based upon an ID number returned from a local SQL query. As an example, I
need to see if 143231a - e.jpg exist on
http://www.differentserverhere.com/photos/ if my query gives me the ID
number of 143231. CFHTTP does not work well in this instance; I need to test
for specific files and not just retrieve everything.

I'd appreciate any help y'all can give me - if I'm not clear, let me know.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Testing for file existence across domains

2004-07-16 Thread Rick Dawson
I need to test for the existence of images that are on another web server
based upon an ID number returned from a local SQL query. As an example, I
need to see if 143231a - e.jpg exist on
http://www.differentserverhere.com/photos/ if my query gives me the ID
number of 143231. CFHTTP does not work well in this instance; I need to test
for specific files and not just retrieve everything.

I'd appreciate any help y'all can give me - if I'm not clear, let me know.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Testing for file existence across domains

2004-07-16 Thread Rick Dawson
 Why not just use CFHTTP to get the specific file?There's nothing saying
 that CFHTTP HAS to call an HTML page.
 
 Jim Davis
 
Hi Jim,

I need to test for the existence ­ some properties will have more than 8
images (those I can get all eight just fine), and some will have anywheres
from none through 8. I only want to display images if they are present, and
not resort to using a 1-pixel gif as a substitute if there is no image.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]