Results 1 to 2 of 2

Thread: Server.mappath?

  1. #1
    Join Date
    Dec 1969

    Default Server.mappath?

    How do I access a database in a directory above the current directory using server.mappath? (I don&#039t know anything about the physical structure; I just want to map to a db one folder above the current one).

  2. #2
    Hairy Guest

    Default RE: Server.mappath?

    The MapPath method allows you to determine the physical path on the server given a virtual or relative path. This code will display the physical location of your database.<BR><BR>strPath = Server.MapPath(Request.ServerVariables("PATH_INFO" ))<BR>Response.Write strPath

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts