Hello all, has any one ever gotten to apply a dynamic wexRoot path to this script? I have tried every suggestion on this web board and none seem to help, I am able to get into a directiory via a dynamic path but when I try to view any sub directories in these folders, it loses the dynamic string and goes to the wrong path.
EX:
user is being passed as the name of a member
default.asp?user=myuser
dim wexRoot,user,userfolder
userfolder = request(user)
wexRoot = "img/products/" & userfolder
I can get to the use's folder on the server
..img/products/myuser/
but if I click a sub folder say "icons" it loses the dynamic content "userfolder" and goes to:
..img/products/icons/ where is should be ..img/products/myuser/icons and then to top it off clicking on the "level up" icon to go up on directory level amkes it go back to:
../img/products/ where it should be ../img/products/myuser
Any one find a solution to this?, if any one here in this forum has figured this code out please let me know, I'd like to impement this on my site so my users can manage their files, I'm soooo close to finishing it up.
thanks in advance.
ragscoon
7/11/2003 9:00 AM
I have just wrote a detailed explanation to your question in the thread below, please take a look:
dynamic root folder
Cem Alacayir
7/25/2003 8:50 AM