Topic awaiting preservation: ASP determine home directory... (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
posted 08-09-2002 07:26
Platform: IIS, ASP, VBScript, JavaScript |
Bipolar (III) Inmate From: |
posted 08-09-2002 09:17
you can use either |
Paranoid (IV) Inmate From: Lebanon |
posted 08-09-2002 09:21
path = Server.MapPath(Request.ServerVariables("PATH_INFO")) |
Nervous Wreck (II) Inmate From: |
posted 08-10-2002 03:24
I thank you both VERY much! I tried both approaches and both work very well. Is there one that's better than the other? They both work, but I'm thinking of going with .MapPath("index.asp") as it's a little more self explanatory to those who will inherit this code for maintenance. |
Bipolar (III) Inmate From: |
posted 08-12-2002 09:32
glad to help |