Forums

This topic is locked

PureASPUpload-Direction

Posted 06 Mar 2002 20:42:33
1
has voted
06 Mar 2002 20:42:33 stellan karlgren posted:
Hi.
I´m working with a registerpage that creates a folder based on the registred person (Username).
And inside the restricted area i have a upload page build with pureaspupload.
Now... I want to change the default direction that is "images" to the folder beased on Username. The folder i plased one level up, but that´s not the problem.

Here is where i think i should change:
"
GP_curPath = Request.ServerVariables("PATH_INFO"
GP_curPath = Trim(Mid(GP_curPath,1,InStrRev(GP_curPath,"/")& "images"
if Mid(GP_curPath,Len(GP_curPath),1) <> "/" then
GP_curPath = GP_curPath & "/"
end if

"
But how?
Anyone who knows...

//Stellan

Reply to this topic