OsmanMuslu
03-16-2010, 12:28 PM
Hey guys,
Actually i work with flash but i need to get some help from server side scripters.I will greatly thank you who tries to help.
I need a blank ASP page with a textbox and a submit button.The user writes whatever he wants to the textbox and when he presses submit the asp page should save it as a xml or .txt file to the same directory where page is.Doesnt matter for me but if one of them is easier on the scripting choose that one.Can you help me with the coding please?
I discovered
<%
text="<note>"
text=text & "<to>Tove</to>"
text=text & "<from>Jani</from>"
text=text & "<heading>Reminder</heading>"
text=text & "<body>Don't forget me this weekend!</body>"
text=text & "</note>"
set xmlDoc=Server.CreateObject("Microsoft.XMLDOM")
xmlDoc.async="false"
xmlDoc.loadXML(text)
xmlDoc.Save("test.xml")
%>
this saves xml to the server but i want it to save the content of the textbox when button is pressed
Thank you for your interest.
Respect
Actually i work with flash but i need to get some help from server side scripters.I will greatly thank you who tries to help.
I need a blank ASP page with a textbox and a submit button.The user writes whatever he wants to the textbox and when he presses submit the asp page should save it as a xml or .txt file to the same directory where page is.Doesnt matter for me but if one of them is easier on the scripting choose that one.Can you help me with the coding please?
I discovered
<%
text="<note>"
text=text & "<to>Tove</to>"
text=text & "<from>Jani</from>"
text=text & "<heading>Reminder</heading>"
text=text & "<body>Don't forget me this weekend!</body>"
text=text & "</note>"
set xmlDoc=Server.CreateObject("Microsoft.XMLDOM")
xmlDoc.async="false"
xmlDoc.loadXML(text)
xmlDoc.Save("test.xml")
%>
this saves xml to the server but i want it to save the content of the textbox when button is pressed
Thank you for your interest.
Respect