About
Pricing
Community
Teams
Start Free Trial
Log in
Al4ddin2
asked on
12/31/2012
Classic ASP, adding a check if file exists...
Linked with
this thread
how do I add in a check to make sure the XML file exists? If it doesn't then just use a default image in the same way?
Thanks
ASP
2
1
Last Comment
Scott Fell
8/22/2022 - Mon
Al4ddin2
12/31/2012
ASKER
Ideally done here...
filename=Server.MapPath "/files/items.xml"
So if no path is set then it uses a default value?!
Thanks
ASKER CERTIFIED SOLUTION
Scott Fell
12/31/2012
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Your help has saved me hundreds of hours of internet surfing.
fblack61
filename=Server.MapPath "/files/items.xml"
So if no path is set then it uses a default value?!
Thanks