I was writing data to an html file through the following cide written a
file called "append.asp "
<%
Set MyFileSystemObj ect =
Server.CreateOb ject("Scripting .FileSystemObje ct")
Set MyTextFile =
MyFileSystemObj ect.OpenTextFil e(Server.MapPat h("clientlist.h tm"), 8,
TRUE)
MyTextFile.Writ eLine("<p>")
MyTextFile.Writ eLine("<strong> ")
MyTextFile.Writ eLine("<LI>")
MyTextFile.Writ eLine(Request.f orm("company"))
MyTextFile.Writ eLine("<br>")
MyTextFile.Writ eLine("</strong>")
MyTextFile.Writ eLine(Request.f orm("person"))
MyTextFile.Writ eLine("<br>")
MyTextFile.Writ eLine(Request.f orm("address"))
MyTextFile.Writ eLine("<br>")
MyTextFile.Writ eLine("Ph. ")
MyTextFile.Writ eLine(Request.f orm("phone"))
MyTextFile.Writ eLine("</p>")
MyTextFile.Writ eLine("<center> ")
MyTextFile.Writ eLine("<font size=2>")
MyTextFile.Writ eLine("<a href=#top>")
MyTextFile.Writ eLine("Top of Page")
MyTextFile.Writ eLine("</a>")
MyTextFile.Writ eLine("</font>")
MyTextFile.Writ eLine("</center>")
MyTextFile.Clos e
response.redire ct("confirm.htm ")
%>
Now the same code is not working. What reason is behind that. If there
is any coding problem please do let me know as I am not that much
familiar in debugging ASP.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!