html Forms

How can the data  entered on a html form be saved on the when a form is submitted How Can I store the contents of the Form(Data Only)  on Client as a text file.



imtiaz070597Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

icdCommented:
the only way you can save the contents of a form is by running a script program that runs on the server.

Many of the free, or cheap, service providers do not allow you to create your own scripts, although they may offer a small number of off the shelf scripts which you can use. Typically there is one called 'formmail' that will take the form values and email them to you so that you can process the data on your own pc.

If you *are* able to upload your scripts to your host then the possibilities are endless. You can write your own script (usually in perl, but there are many choices for scripting languages) or you can download many free scripts from various sites.

Check with your service provider to find out what they will let you do and any standard scripts that they may have.

If you are able to upload your own scripts then come back here and I can show you where there are scripts you can download.


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
darkmanCommented:
The best I can do here (Since they've pretty much answered it) is
give you an URL to a free web space provider with CGI Access
(CGI-WIN, CGI-BIN, CGI-DOS) plus all kinds of other neat gizmos
perfect for making cool web pages.  The URL is:
http://www.cybercity.hko.net
from there just click on Apply on the left side.  Inside the form
will be an option that says "Referer" type numb .  
0
icdCommented:
darkman.

Your comment pretty much proves my point. There Aint No Such Thing As A Free Lunch (TANSTAAFL). I tried out the site you mentioned and it was slooooooooow. (Took over five minutes to load the home page!). I eventually managed to register (referred to you!) so I will see if it is possible to mirro my own site there. Also be aware that your email address is sold on to other people so they can send you bulk email advertising!

0
imtiaz070597Author Commented:
My Problem still remains unsolved.
I would like to see some script especially javaScript wherein one is able to save the data on the client as a text file..
0
icdCommented:
Sorry, not possible to save files on the client with Javascript. This is for security purposes, otherwise naughty webmasters would be corrupting your hard disk with files or even running programs on your hard disk (like format!).

However if you start looking at activeX (only for MSIE however) or plugins (Netscape only) or Java with native methods (OS specific) then there might be a solution, but one which is not trivial by any means.

Those pages you see that save information in web pages (such as guest-books) do so by running cgi scripts on the server.

Any reason why you can't run cgi?

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.