% Dim objFile,objFso Dim strFileName, strPath dim strPageContent strFileName = "Meta_Golf-Resorts.asp" strPath = Server.MapPath("/singleclicksolutions/metadir") strPath =strPath & "/" & strFileName '' Response.Write strPath ''Response.Write Request.ServerVariables("PATH_INFO") Set objFso = Server.CreateObject("Scripting.FileSystemObject") if objFso.FileExists(strPath) Then Set objFile = objFso.OpenTextFile(strPath) strPageContent = objFile.ReadAll Response.Write strPageContent else ''Response.Write "Not Exist" end if %>
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||