VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 VP-ASP 7.0 Questions
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

6 Posts

Posted - April 07 2010 :  08:01:01  Show Profile  Reply with Quote
I have 30.000 products in my DB.
All the products cite to an product image, but I don't have all the pictures so I get a lot of 404 errors.

I found this script on the internet:
Function CheckImg(url)
Set objXML = Server.CreateObject("Microsoft.XMLHTTP")
objXML.open "GET", url, False
If objXML.status=404 Then
Response.Write("image not found")
Response.Write("<img src=" & url & ">")
End If
Set objXML = Nothing
End Function
Call CheckImg("http://www.google.com/intl/en/images/logo.gif") 

Can I intergrate this script into shopimageswatches.asp (7.0)? And how can I do that?

Edited by - freexel on April 27 2010 03:24:46
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000