ASP / ASP.NETDiscussion related to web development using ASP & ASP.NET. Tutorials, source code, tips and tricks related to ASP and ASP.NET programming.
The thread "form handling" has not received any replies for a month. It has been automatically closed as a result. You may start a new thread on the topic if the information in this thread is not sufficient.
I have a form that the results are emailed, via formmail.asp - now trying to see the best way to add a script so the results are also stored as a .csv or text file on the server. Can anyone give me a suggestion?I'm trying to help a non-profit fix their site - they created it Dreamweaver, but their hosting service dosen't support php/mysq. So, I need to redirects the form results to a file in their root directory I guess.
To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts.
__________________ Jason p. - Administrator █ High Quality To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ Powerful To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
You can use following code to write in text file. But you should use cdonts to send email.
HTML Code:
<html><body><%
Set fileObj=Server.CreateObject("Scripting.FileSystemObject")
set file1=fileObj.CreateTextFile("my.txt")
file1.WriteLine("Test")
file1.WriteLine("Another Test")
file1.Close
set file1=nothing
set fileObj=nothing
%></body></html>
The thread "form handling" has not received any replies for a month. It has been automatically closed as a result. You may start a new thread on the topic if the information in this thread is not sufficient.