Solved

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

Posted on 2010-11-29
8
234 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 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 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
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 …

839 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