JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old December 5th, 2003, 05:31 AM
erikspinhoven erikspinhoven is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 1 erikspinhoven User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
check if image exists

Hi there,

I'm building an orderlist with articles from differerent suppliers in a SQL db. Together with the article information the administrator can store the address of an image. These images are stored on the servers of the suppliers of the articles.

It's tricky to store images outside your website, i know that. Therefor I want to build some kind of function that checks if the image exists on the server of the supplier. I've tried it with the onError handler, but this only works in Explorer 6.

Does anyone know a different trick or even how to solve this problem.

Many thanx in advance,
Erik

Reply With Quote
  #2  
Old June 30th, 2006, 11:54 PM
colton22's Avatar
colton22 colton22 is offline
\ ^_^ / - Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Location: near chicago, Illinois
Posts: 473 colton22 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 1 h 19 m 14 sec
Reputation Power: 3
Send a message via AIM to colton22 Send a message via MSN to colton22 Send a message via Yahoo to colton22
i dont know if this is it but...

you could try the try catch block...

try {
thing to try
}
catch (e) {
if error happened in the try, catch the error and do stuff with it here
e is the error handler
}

Reply With Quote
  #3  
Old July 1st, 2006, 12:00 PM
SnapCracker's Avatar
SnapCracker SnapCracker is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: Kent, United Kingdom
Posts: 165 SnapCracker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 21 h 22 m 31 sec
Reputation Power: 4
erikspinhoven will have to be very patient user to wait for his answer since Dec 2003! I know it often happens that your thread never get an answered, but it's 'hats off' to colton22 for finding all those unanswered posts from way back when! I think I'll check if you've found my unanswered post from 2 years ago when I asked could I have the complete code for a money making website! I know better today not to ask such questions.

Reply With Quote
  #4  
Old July 1st, 2006, 01:40 PM
colton22's Avatar
colton22 colton22 is offline
\ ^_^ / - Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Location: near chicago, Illinois
Posts: 473 colton22 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 1 h 19 m 14 sec
Reputation Power: 3
Send a message via AIM to colton22 Send a message via MSN to colton22 Send a message via Yahoo to colton22
hey thanks, i am a kid 16 years old and just know some javascript, i love it, it is my life, so i try to help as much as i possibly can.

colton22 - http://www.freewebs.com/colton22/frame.html

Reply With Quote
  #5  
Old July 1st, 2006, 02:01 PM
SnapCracker's Avatar
SnapCracker SnapCracker is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: Kent, United Kingdom
Posts: 165 SnapCracker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 21 h 22 m 31 sec
Reputation Power: 4
Wow! I wish my son of 16 was passionate about javascript as you are, the most excited he gets on the computer is when he's bidding on eBay! BTW Congratulations on the receiving the Top 5 poster award, Oh! I've just received a message from you.

Reply With Quote
  #6  
Old July 7th, 2006, 04:15 PM
colton22's Avatar
colton22 colton22 is offline
\ ^_^ / - Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Location: near chicago, Illinois
Posts: 473 colton22 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 1 h 19 m 14 sec
Reputation Power: 3
Send a message via AIM to colton22 Send a message via MSN to colton22 Send a message via Yahoo to colton22
yea and thanks for the congrats, im not alowed on ANY computer at school, i didnt do anything there, but just because i was showing my teacher how to get around the firewall with ping, ping6, proxys, and more ms-dos, he doesnt let me on anymore computers, just because of my knowledge.

lol

colton22

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > check if image exists


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT