mr_ego
07-29-2002, 05:50 AM
ASP CODE:
<%
Set data = CreateObject ("Scripting.FileSystemObject")
Set info = data.OpenTextFile ("E:\websites\wwwschools\kgsc\" & Response.Form("page") & ".txt")
filecontent = info.ReadAll
info.close
response.write(filecontent)
%>
that's if i want it from a form submission but what if i want it from a query string? i dont know how to do this. im relatively new to ASP so i really need some help. its for a competition!
Thanks
<%
Set data = CreateObject ("Scripting.FileSystemObject")
Set info = data.OpenTextFile ("E:\websites\wwwschools\kgsc\" & Response.Form("page") & ".txt")
filecontent = info.ReadAll
info.close
response.write(filecontent)
%>
that's if i want it from a form submission but what if i want it from a query string? i dont know how to do this. im relatively new to ASP so i really need some help. its for a competition!
Thanks