Solved

Save text from an HTML form to a txt file that is read only

Posted on 2010-11-29
8
223 Views
Last Modified: 2012-05-10
I have searched online all day and without success. The company I work for wants to have a form load when anyone signs into a server. I have created a batch file that will run at startup and then open a browser which will pop up the form. However I cannot seem to find a way to get the form data to save to a file. Each time a user signs in this form either has to create a unique file, or add to an existing one. Once that is taken care of how do I get the file that was created by the form to read only so that no one can modify it?

I know a little about HTML and nothing about any other programming language. Any help would be greatly appreciated.
0
Comment
Question by:philtukey
8 Comments
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 34235545
HTML forms must be sent to a page that is written in a server programming language like ASP or PHP.  javascript is not allowed to write directly to files either.  You need to find someone who does know about programming.
0
 
LVL 82

Expert Comment

by:leakim971
ID: 34235603
0
 
LVL 19

Expert Comment

by:Bardobrave
ID: 34238035
If you build a simple ASP page that receives form's POST you can then write those data into a file using builtin FileSystemObject.

HTML is a notation language unable to do any type of file operation.
0
 
LVL 1

Author Comment

by:philtukey
ID: 34239764
Sorry it took me so long to respond I went home for the night. I will look at the possible solutions today.
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 1

Author Comment

by:philtukey
ID: 34239864
So if you can't do it in HTML, or Javascript, then what programming language would you prefer?

Or would a program such as Access be better for this, or is there maybe another program that is out there that would do what we want?

Thanks,

Phil
0
 
LVL 82

Expert Comment

by:leakim971
ID: 34240923
Gerty a trial and test Microsoft Infopath
0
 
LVL 1

Accepted Solution

by:
philtukey earned 0 total points
ID: 34244204
We are looking at another solution for this project. I am working within Excel and UserForms to see if I can't get this to work. Thank you all for you input.
0
 
LVL 1

Author Closing Comment

by:philtukey
ID: 34276835
We are looking at another solution for this project. I am working within Excel and UserForms to see if I can't get this to work. Thank you all for you input.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now