Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   form output to text file (http://www.velocityreviews.com/forums/t159919-form-output-to-text-file.html)

nate 11-10-2004 01:31 AM

form output to text file
 
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



brucie 11-10-2004 02:22 AM

Re: form output to text file
 
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.

--
the facts and opinions expressed by brucies
l i t t l e v o i c e s
are not necessarily the same as those held by brucie.

Neredbojias 11-11-2004 06:18 AM

Re: form output to text file
 
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.

--
Neredbojias
Contrary to popular belief, it is believable.

Mark Parnell 11-11-2004 06:20 AM

Re: form output to text file
 
Previously in alt.html, nate <n_cudlipp-nospam-@hotmail.coma> 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?

--
Mark Parnell
http://www.clarkecomputers.com.au
"Never drink rum&coke whilst reading usenet" - rf 2004


All times are GMT. The time now is 11:56 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57