Hi, I'm very new to ASP...
So I have this code on my page
Code:
<!--#include file="somefile.txt"-->
which will show textual content of somefile.txt
Now what I want is that if somefile.txt is not found on server, I wan't the content of another textual file to be shown (someotherfile.txt)
so I need something like
Code:
<!--#include file="somefile.txt"-->
if file not found then
<!--#include file="someotherfile.txt"-->
Of course this is not correct code, so that is where I need your help... How do I write this code in ASP?
Thanks...
|