Al4ddin2
asked on
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
filename=Server.MapPath "/files/items.xml"
So if no path is set then it uses a default value?!
Thanks