% sPath =Server.MapPath("/samples/test2.txt") 'response.write sPath anyVariable = Request.ServerVariables("REMOTE_ADDR") Set fs= Server.CreateObject("Scripting.FileSystemObject") Set objLogFile = fs.OpenTextFile(sPath, 8, False) objLogFile.WriteLine(anyVariable) objLogFile.Close() %>
![]() |
||||||
|
||||||
|
||||||
|
||||||
![]() |
||||||