ASP help
- Started
- Last post
- 3 Responses
- Xentic
Hi!
I have to include a txt file into a ASP file on a windows 2000 server with ASP version 5
I need the absolute path to make that possible, but I don't know the absolute path. Is there any way to do this without knowing the absolute path to the txt file?
I did the same on a site with ASP 4 and than I could use a relative path like ../folder/filename.txt but that's not aloud in ASP 5
Any help would be higly apreciated! Does anyone know a good ASP-Hep site/community/forum or something like that?
Thanks!
Michiel
- protoculture0
nice reference here:
http://www.w3schools.com/asp/met…
- Xentic0
thanks! But how can I use that to include a file?
This is what doesn't work... But how can I add that MapPath to this?
Thanks in advance!
- mitsu0
what's wrong with a good ole fashion include?:
!-- #include file='test.txt' --
or using the file system object to open the file and read the contents?