Other Messages...
<%
' MyFile = "e:\domains\unclebobworld.co.uk\user\htdocs\cgi-bin\guestbook.txt"
Mypath = server.mappath("cgi-bin")
myFile = Mypath&"\guestbook.txt"
'Opens the guestbook file if it exists
Set MyFileObj=Server.CreateObject("Scripting.FileSystemObject")
IF MyFileObj.FileExists(MyFile) THEN
Set MyTextFile=MyFileObj.OpenTextFile(MyFile)
'Reads a line, and outputs it
WHILE NOT MyTextFile.AtEndOfStream%>
<%=MyTextFile.ReadLine%>
<%WEND
'Closes the textfile
MyTextFile.Close
END IF' Does file exist
%>