D
Dan King
I have an ASP page that currently gives me an output of file listing with
links to each of them for the current directory.
The problem I am having is there are getting to be too many folders. I
currently have the ASP page copied into each folder and sub folder, but if I
want to make a change, I have to change all the ASP files.
Is there a way I can create either:
Have a simple index.asp page that will reference and run my code in my
current ASP page? This way I have only one complex file to change, and
simple index in each folder.
Or
Can I create an index page at the root of the server that will give me a
folder listing, and then when I click on a link to a folder it can pass the
new current directory to the root index page to give a listing of the new
current directory?
Any code snippets would be appreciated.
I am currently using directory listings in IIS, but this is an ugly way, and
I want to be able to clean it up.
Thanks,
Dan
links to each of them for the current directory.
The problem I am having is there are getting to be too many folders. I
currently have the ASP page copied into each folder and sub folder, but if I
want to make a change, I have to change all the ASP files.
Is there a way I can create either:
Have a simple index.asp page that will reference and run my code in my
current ASP page? This way I have only one complex file to change, and
simple index in each folder.
Or
Can I create an index page at the root of the server that will give me a
folder listing, and then when I click on a link to a folder it can pass the
new current directory to the root index page to give a listing of the new
current directory?
Any code snippets would be appreciated.
I am currently using directory listings in IIS, but this is an ugly way, and
I want to be able to clean it up.
Thanks,
Dan