<% dim fso, tf Set fso = CreateObject("Scripting.FileSystemObject") Set tf = fso.OpenTextFile(Server.MapPath("/database/log.htm"), 8,True) ' Write a line with a newline character. ' tf.WriteLine("Page: " & myLoc & "
") if Request.ServerVariables("PATH_INFO") = "/welcome.asp" then tf.WriteLine("Page: " & Request.ServerVariables("PATH_INFO") & "
") tf.WriteLine("Date: " & Now() & "
") tf.WriteLine("IP: " & Request.ServerVariables("REMOTE_HOST") & "
") tf.WriteLine("Data : " & Request.ServerVariables("ALL_RAW") & "
") ' tf.WriteLine("Cookie : " & Request.ServerVariables("HTTP_COOKIE") & "
") ' Write three newline characters to the file. else tf.WriteLine( Request.ServerVariables("PATH_INFO") & "_________" & Now() & "
") end if tf.WriteBlankLines(1) tf.Close %> David Brunover's Home Page <h1 align=center> <blink>FRAMESET ALERT!</blink></h1> <p>This document is designed to be viewed using <b>Netscape 1.2</b>'s FRAMESET features. If you are seeing this message, you are using a frames <i>challenged</i> browser.</p> <p>A <b>FRAMESET-capable</b> browser can be gotten from<a href=http://home.netscape.com/> Netscape Communications</a>.</p> <br> <br> <center> <a href="http://www.brunover.com/wav_gif/files.htm">Click here to got to the WAV and other Files ...</a> </center>