View Single Post
Old Aug 23rd, 2005, 11:34 AM   #2
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
Quote:
Originally Posted by squishiful
Every time I try to read/write to a file the page will not load, everything else works though. I am using Sun One on windows apache. Help pleaz!
<html>
<body>
<%Response.Expires=-1%>
<%
set fso=Server.CreateObject("Scripting.FileSystemObject")
set fname = fso.CreateTextFile("c:\test2.txt", true)
fname.WriteLine("Hello World!")
fname.Close
set fname=nothing
set fs=nothing%>
</body>
</html>
shouldn't that line in bold be
set fso=nothing
%>
OpenLoop is offline   Reply With Quote