Solved

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

Posted on 2010-11-29
8
247 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 83

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 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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
 
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Find out what you should include to make the best professional email signature for your organization.
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 how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

630 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