%@ LANGUAGE = JScript %>
<%
// Apertura dello stream verso il file di testo
var fso = new ActiveXObject("Scripting.FileSystemObject");
var stream = fso.OpenTextFile(Server.MapPath("ospiti.txt"));
%>
Firmalo anche tu!
<%
while (!stream.AtEndOfStream) {
Response.Write("
");
aux = stream.ReadLine();
Response.Write("Nome: " + aux + "
");
aux = stream.ReadLine();
if (aux!="") Response.Write("E mail: " + aux + "
");
aux = stream.ReadLine();
if (aux!="") Response.Write("Home Page: " + aux + "
");
aux = stream.ReadLine();
Response.Write("Messaggio:
" + aux + "
");
stream.SkipLine();
}
stream.Close();
%>
Realizzato per maproject da Giuseppe Mignanelli