I have the folllowing code:
the file 'counter.txt' needs to be to a paralell directory, that is, i have to go up on level, then down one level in to a diffenret folder. I have tried using ./levelXX/counter.txt but it has not seemed to work. I have also tried using the full http:// url without success.
Any suggestions would be appreciated.
Gary
Code:
<%
Dim sPath, filesys, getValue, update, count
sPath = Request.ServerVariables("Path_Translated")
sPath = Left(sPath,InStrRev(sPath,"\")) & "counter.txt"
Set filesys = CreateObject("Scripting.FileSystemObject")
%>
the file 'counter.txt' needs to be to a paralell directory, that is, i have to go up on level, then down one level in to a diffenret folder. I have tried using ./levelXX/counter.txt but it has not seemed to work. I have also tried using the full http:// url without success.
Any suggestions would be appreciated.
Gary