form output to text file

N

nate

I want to have a user enter values in to 2 separate form fields and have
those values saved to a text file (actually an .ini file) on their PC. I
don't want the user to see or have access to the full text of the .ini file
so I thought an interface would be useful. I have some knowledge of html and
javascript but don't know how to do this task. If it isn't possible or there
is a better method I'd appreciate the feedback. Otherwise here is what I
want to know...

How do I save to a local file?
How do I specify the file name and path to save to?
How do I modify an existing text file or would it be easier to have all of
the text written each time the values are saved?
How do I make sure the values are saved when the user clicks on the button?

TIA
 
B

brucie

In alt.html nate said:
I want to have a user enter values in to 2 separate form fields and have
those values saved to a text file (actually an .ini file) on their PC.

1. user fills out form and uploads it to server.
2. you do whatever you have to do to it.
3. supply a link to giggly file with instruction on what giggly things
to do with it.
I don't want the user to see or have access to the full text of the .ini file
tuff

How do I save to a local file?

you cant
How do I specify the file name and path to save to?

you cant
How do I modify an existing text file

you cant
or would it be easier to have all of the text written each time the
values are saved?

you'll have to do it that way with your server side script.
How do I make sure the values are saved when the user clicks on the button?

client and server side validation checking the input.
 
N

Neredbojias

Without quill or qualm, nate quothed:
I want to have a user enter values in to 2 separate form fields and have
those values saved to a text file (actually an .ini file) on their PC. I
don't want the user to see or have access to the full text of the .ini file

Yeah, right. Even IE's security isn't that bad, oberlieutnant.
 
M

Mark Parnell

Previously in alt.html said:
I want to have a user enter values in to 2 separate form fields and have
those values saved to a text file (actually an .ini file) on their PC. I
don't want the user to see or have access to the full text of the .ini file

ROFLOL! Sarcasm can be so funny when done properly!

Umm, you *were* joking, weren't you?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top